Views
No views yet
1from transformers import GPTNeoForCausalLM, GPT2Tokenizer
2
3# Load model and tokenizer
4model = GPTNeoForCausalLM.from_pretrained("raimondskrauklis/gpt-neo-1.3b-lumi-conversational")
5tokenizer = GPT2Tokenizer.from_pretrained("raimondskrauklis/gpt-neo-1.3b-lumi-conversational")
6
7# Generate response
8prompt = "Human: What is machine learning?\nAssistant:"
9inputs = tokenizer(prompt, return_tensors="pt")
10outputs = model.generate(**inputs, max_length=150, temperature=0.7, do_sample=True)
11response = tokenizer.decode(outputs[0], skip_special_tokens=True)
12print(response)
13Conversation Format
14The model was trained on conversations with this format:
15Human: [question or statement]
16Assistant: [response]
17Model Performance
18Based on validation testing, the model demonstrates:
19
20General Knowledge: Accurate explanations with historical context
21Programming: Generates working code with explanations
22Technical Discussion: Coherent responses about complex topics
23Problem Solving: Structured, logical approaches
24Consistency: Reliable performance across different domains
25
26Technical Specifications
27MetricValueParameters1.3BTraining Steps338Final Loss1.27Training Time29 hoursGPUs Used8x AMD MI250XMemory per GPU~12GBInference Speed22.1 tokens/sec
28Acknowledgments
29
30LUMI: European pre-exascale supercomputer infrastructure
31EleutherAI: Base GPT-Neo model
32OpenAssistant: Conversation dataset
33
34Citation
35bibtex@misc{gptneo-lumi-conversational,
36 title={GPT-Neo 1.3B Fine-tuned on LUMI Supercomputer},
37 author={Raimonds Krauklis},
38 year={2025},
39 howpublished={Hugging Face Model Hub},
40 url={https://huggingface.co/raimondskrauklis/gpt-neo-1.3b-lumi-conversational}
41}
42License
43This model is released under the Apache 2.0 license, same as the base GPT-Neo model.