File size: 1,363 Bytes
4b83d37 248e1b1 4b83d37 5915c97 4b83d37 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 | ---
base_model: gpt2
inference:
parameters:
do_sample: true
max_new_tokens: 256
temperature: 0.7
top_p: 0.9
language:
- en
- ru
library_name: transformers
license: apache-2.0
model_type: gpt2
pipeline_tag: text-generation
tags:
- safetensors
- text-generation
- conversational
- machine-learning
- nlp
- transformer
- russian
- english
- small-model
- gpt2
---
# RadonSAI-Small
## Overview
RadonSAI-Small is a variant of the Radon model family, based on the GPT2LMHeadModel architecture.
## Model Details
- **Source Model**: gpt2
- **Architecture**: GPT2LMHeadModel
- **Parameters**: 123.6M
- **Model Type**: gpt2
## Usage
```python
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("MagistrTheOne/RadonSAI-Small")
model = AutoModelForCausalLM.from_pretrained("MagistrTheOne/RadonSAI-Small")
prompt = "Hello, how are you?"
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=50)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
```
## Model Information
- **Languages**: English, Russian
- **License**: Apache 2.0
- **Format**: Safetensors
- **Library**: Transformers
## Citation
If you use this model, please cite the original source model and the Radon project.
|