How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="KoboldAI/fairseq-dense-355M")
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("KoboldAI/fairseq-dense-355M")
model = AutoModelForCausalLM.from_pretrained("KoboldAI/fairseq-dense-355M")
Quick Links

This is a Hugging Face transformers-compatible conversion of the original dense 355M-parameter model from the paper "Efficient Large Scale Language Modeling with Mixtures of Experts" from Artetxe et al. Please refer to the original model card, which can be found at https://github.com/facebookresearch/fairseq/blob/main/examples/moe_lm/model_card.md.

Open LLM Leaderboard Evaluation Results

Detailed results can be found here

Metric Value
Avg. 27.99
ARC (25-shot) 25.43
HellaSwag (10-shot) 46.67
MMLU (5-shot) 25.3
TruthfulQA (0-shot) 39.19
Winogrande (5-shot) 52.88
GSM8K (5-shot) 0.0
DROP (3-shot) 6.48
Downloads last month
2,362
Safetensors
Model size
0.4B params
Tensor type
F16
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Spaces using KoboldAI/fairseq-dense-355M 33

Paper for KoboldAI/fairseq-dense-355M