Text Generation
Transformers
Safetensors
GGUF
Russian
llama
text-generation-inference
unsloth
sebaxakerhtc
saiga
conversational
Instructions to use burgasdotpro/Sebushka-llama-3.1-8B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use burgasdotpro/Sebushka-llama-3.1-8B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="burgasdotpro/Sebushka-llama-3.1-8B") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("burgasdotpro/Sebushka-llama-3.1-8B") model = AutoModelForCausalLM.from_pretrained("burgasdotpro/Sebushka-llama-3.1-8B", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use burgasdotpro/Sebushka-llama-3.1-8B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "burgasdotpro/Sebushka-llama-3.1-8B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "burgasdotpro/Sebushka-llama-3.1-8B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/burgasdotpro/Sebushka-llama-3.1-8B
- SGLang
How to use burgasdotpro/Sebushka-llama-3.1-8B with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "burgasdotpro/Sebushka-llama-3.1-8B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "burgasdotpro/Sebushka-llama-3.1-8B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "burgasdotpro/Sebushka-llama-3.1-8B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "burgasdotpro/Sebushka-llama-3.1-8B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Unsloth Desktop
- Docker Model Runner
How to use burgasdotpro/Sebushka-llama-3.1-8B with Docker Model Runner:
docker model run hf.co/burgasdotpro/Sebushka-llama-3.1-8B
Update README.md
Browse files
README.md
CHANGED
|
@@ -15,14 +15,14 @@ datasets:
|
|
| 15 |
- IlyaGusev/saiga_scored
|
| 16 |
---
|
| 17 |
|
|
|
|
|
|
|
| 18 |
# Uploaded model
|
| 19 |
|
| 20 |
- **Developed by:** burgasdotpro
|
| 21 |
- **License:** apache-2.0
|
| 22 |
- **Finetuned from model :** unsloth/Meta-Llama-3.1-8B-bnb-4bit
|
| 23 |
|
| 24 |
-
Тестовая модель на базе llama-3.1-8B с датасетом от знаменитой [Сайги](https://huggingface.co/IlyaGusev/saiga_llama3_8b).
|
| 25 |
-
|
| 26 |
Эта Meta-Llama-3.1-8B модель тренирована в 2 раза быстрей с помощью [Unsloth](https://github.com/unslothai/unsloth) и TRL библиотеки Huggingface
|
| 27 |
|
| 28 |
[<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="100"/>](https://github.com/unslothai/unsloth)
|
|
|
|
| 15 |
- IlyaGusev/saiga_scored
|
| 16 |
---
|
| 17 |
|
| 18 |
+
Модель на базе llama-3.1-8B с датасетом от знаменитой [Сайги](https://huggingface.co/IlyaGusev/saiga_llama3_8b).
|
| 19 |
+
|
| 20 |
# Uploaded model
|
| 21 |
|
| 22 |
- **Developed by:** burgasdotpro
|
| 23 |
- **License:** apache-2.0
|
| 24 |
- **Finetuned from model :** unsloth/Meta-Llama-3.1-8B-bnb-4bit
|
| 25 |
|
|
|
|
|
|
|
| 26 |
Эта Meta-Llama-3.1-8B модель тренирована в 2 раза быстрей с помощью [Unsloth](https://github.com/unslothai/unsloth) и TRL библиотеки Huggingface
|
| 27 |
|
| 28 |
[<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="100"/>](https://github.com/unslothai/unsloth)
|