Swallow 7B Instruct Hf by tokyotech-llm

 ยป  All LLMs  ยป  tokyotech-llm  ยป  Swallow 7B Instruct Hf   URL Share it on

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

Swallow 7B Instruct Hf Benchmarks

nn.n% — How the model compares to the reference models: Anthropic Sonnet 3.5 ("so35"), GPT-4o ("gpt4o") or GPT-4 ("gpt4").
Swallow 7B Instruct Hf (tokyotech-llm/Swallow-7b-instruct-hf)

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
Updated2024-12-22
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 GGUF98382 GB
Swallow 7B Instruct GPTQ1204 GB
Swallow 7B Instruct AWQ1194 GB

Best Alternatives to Swallow 7B Instruct Hf

Best Alternatives
Context / RAM
Downloads
Likes
... Qwen2.5llamaify 7B V23.1 200K195K / 15.2 GB29350
SuperNeuralDreadDevil 8B128K / 16.1 GB1551
Falcon3 7B Instruct32K / 14.8 GB411428
Falcon3 7B Instruct 1.58bit32K / 3.3 GB44113
FalconSlerp2 7B32K / 14.9 GB60
Llama 2 7B 32K Instruct32K / 13.5 GB6101159
Qwen2 7B Instruct Llama32K / 15.2 GB113
Qwen2 7B Instruct Mistral32K / 15.2 GB141
AIRIC The Mistral32K / 14.4 GB7507
...ls Vikhr 7B Instruct 0.4 4bits32K / 5.2 GB100
Note: green Score (e.g. "73.2") means that the model is better than tokyotech-llm/Swallow-7b-instruct-hf.

Rank the Swallow 7B Instruct Hf Capabilities

๐Ÿ†˜ Have you tried this model? Rate its performance. This feedback would greatly assist ML community in identifying the most suitable model for their needs. Your contribution really does make a difference! ๐ŸŒŸ

Instruction Following and Task Automation  
Factuality and Completeness of Knowledge  
Censorship and Alignment  
Data Analysis and Insight Generation  
Text Generation  
Text Summarization and Feature Extraction  
Code Generation  
Multi-Language Support and Translation  

What open-source LLMs or SLMs are you in search of? 40123 in total.

Our Social Media →  
Original data from HuggingFace, OpenCompass and various public git repos.
Release v20241217