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="hatanp/gpt-fi-distill")
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("hatanp/gpt-fi-distill")
model = AutoModelForCausalLM.from_pretrained("hatanp/gpt-fi-distill", device_map="auto")
Quick Links

DEPRECATED!

This model is old and no longer relevant with the releases of all around better Finnish models such as GPT-3 models from TurkuNLP

You may of course still use this for experiments and benchmarking, but I doubt this will work any better.

Old description:

Knowledge distilled version of a larger model gpt-fi. This model has approximately 300M parameters compared to the 1.2B parameters of the larger model. For scripts and more complete model information refer to the large models' page.

Downloads last month
229
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support