LLM EXPLORER 61,491 MODELS INDEXED

Swallow 7B Instruct Hf by tokyotech-llm

By tokyotech-llm · 374 downloads

Swallow 7B Instruct Hf is an open-source language model by tokyotech-llm. Features: 7b LLM, VRAM: 13.7GB, Context: 4K, License: llama2, Instruction-Based, LLM Explorer Score: 0.1.

  Arxiv:2404.17733   Arxiv:2404.17790   Deploy:azure   En   Endpoints compatible   Instruct   Ja   Llama   Region:us   Safetensors   Sharded   Tensorflow

Swallow 7B Instruct Hf Parameters and Internals

Model Type 
text generation
Use Cases 
Areas:
Research, Commercial applications
Limitations:
Models not tuned to ensure outputs align with human intent and safety considerations.
Additional Notes 
The models are continually pre-trained and instruction-tuned, emphasizing Japanese language capabilities.
Supported Languages 
supported_languages_list (Japanese, English), languages_details (The Swallow model has undergone continual pre-training with the addition of Japanese language data.)
Training Details 
Data Sources:
Japanese Wikipedia, RefinedWeb, Swallow Corpus, The Pile
Methodology:
Supervised fine-tuning (SFT) and instruction tuning using Anthropic HH-RLHF, Databricks Dolly 15-k, and OpenAssistant Conversations Dataset.
Model Architecture:
Refer to LLaMA-2 technical report for details on the model architecture.
Input Output 
Accepted Modalities:
text
Output Format:
Text
Performance Tips:
Model employs a tokenizer with a broadened vocabulary based on Japanese data, offering efficient text representation and faster inference.
Release Notes 
Version:
0.1
Date:
April 26, 2024
Notes:
Release of Swallow-7b-instruct-v0.1, Swallow-13b-instruct-v0.1, and Swallow-70b-instruct-v0.1.
Version:
N/A
Date:
March 2, 2024
Notes:
Release of Swallow-7b-plus-hf with twice as many Japanese tokens as Swallow-7b-hf.
Version:
N/A
Date:
February 4, 2024
Notes:
Release of Swallow-13b-NVE-hf.
Version:
N/A
Date:
January 26, 2024
Notes:
Release of Swallow-7b-NVE-hf, Swallow-7b-NVE-instruct-hf, Swallow-70b-NVE-hf, Swallow-70b-NVE-instruct-hf.
Version:
N/A
Date:
December 19, 2023
Notes:
Release of Swallow-7b-hf, Swallow-7b-instruct-hf, Swallow-13b-hf, Swallow-13b-instruct-hf, Swallow-70b-hf, Swallow-70b-instruct-hf.
LLM NameSwallow 7B Instruct Hf
Repository πŸ€—https://huggingface.co/tokyotech-llm/Swallow-7b-instruct-hf 
Model Size7b
Required VRAM13.7 GB
Updated2026-06-29
Maintainertokyotech-llm
Model Typellama
Instruction-BasedYes
Model Files  4.9 GB: 1-of-3   5.0 GB: 2-of-3   3.8 GB: 3-of-3
Supported Languagesen ja
Model ArchitectureLlamaForCausalLM
Licensellama2
Context Length4096
Model Max Length4096
Transformers Version4.33.2
Tokenizer ClassLlamaTokenizer
Beginning of Sentence Token<s>
End of Sentence Token</s>
Unk Token<unk>
Vocabulary Size43176
Torch Data Typebfloat16

Quantized Models of the Swallow 7B Instruct Hf

Model
Likes
Downloads
VRAM
Swallow 7B Instruct GGUF96002 GB
Swallow 7B Instruct AWQ154 GB
Swallow 7B Instruct GPTQ144 GB

Best Alternatives to Swallow 7B Instruct Hf

Best Alternatives
Context / RAM
Downloads
Likes
1241024K / 16.1 GB930
A5.41024K / 16.1 GB120
A3.41024K / 16.1 GB130
A2.41024K / 16.1 GB120
... Qwen2.5llamaify 7B V23.1 200K195K / 15.2 GB295
Salamandra 7B Instruct 2606160K / 15.6 GB8153
SuperNeuralDreadDevil 8B128K / 16.1 GB281
Falcon3 7B Instruct32K / 14.8 GB1174980
Falcon3 Jessi V0.4 7B Slerp32K / 14.9 GB349
Jessi V0.4 Falcon3 7B Instruct32K / 14.8 GB220
Note: green Score (e.g. "73.2") means that the model is better than tokyotech-llm/Swallow-7b-instruct-hf.