Text Generation
Transformers
Safetensors
English
qwen2
text-generation-inference
unsloth
trl
conversational
Instructions to use inumulaisk/eval_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use inumulaisk/eval_model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="inumulaisk/eval_model") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("inumulaisk/eval_model") model = AutoModelForCausalLM.from_pretrained("inumulaisk/eval_model") 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 inumulaisk/eval_model with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "inumulaisk/eval_model" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "inumulaisk/eval_model", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/inumulaisk/eval_model
- SGLang
How to use inumulaisk/eval_model 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 "inumulaisk/eval_model" \ --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": "inumulaisk/eval_model", "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 "inumulaisk/eval_model" \ --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": "inumulaisk/eval_model", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Unsloth Studio
How to use inumulaisk/eval_model with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for inumulaisk/eval_model to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for inumulaisk/eval_model to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for inumulaisk/eval_model to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="inumulaisk/eval_model", max_seq_length=2048, ) - Docker Model Runner
How to use inumulaisk/eval_model with Docker Model Runner:
docker model run hf.co/inumulaisk/eval_model
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,19 +1,42 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
license: apache-2.0
|
| 4 |
datasets:
|
| 5 |
-
- inumulaisk/test_archa_dataset
|
| 6 |
language:
|
| 7 |
-
- en
|
| 8 |
metrics:
|
| 9 |
-
- accuracy
|
| 10 |
-
- bleu
|
| 11 |
base_model:
|
| 12 |
-
- deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B
|
| 13 |
new_version: inumulaisk/eval_model
|
| 14 |
pipeline_tag: question-answering
|
| 15 |
library_name: adapter-transformers
|
| 16 |
tags:
|
| 17 |
-
- cloud
|
| 18 |
-
- architecture
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
---
|
|
|
|
| 1 |
---
|
|
|
|
| 2 |
license: apache-2.0
|
| 3 |
datasets:
|
| 4 |
+
- inumulaisk/test_archa_dataset
|
| 5 |
language:
|
| 6 |
+
- en
|
| 7 |
metrics:
|
| 8 |
+
- accuracy
|
| 9 |
+
- bleu
|
| 10 |
base_model:
|
| 11 |
+
- deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B
|
| 12 |
new_version: inumulaisk/eval_model
|
| 13 |
pipeline_tag: question-answering
|
| 14 |
library_name: adapter-transformers
|
| 15 |
tags:
|
| 16 |
+
- cloud
|
| 17 |
+
- architecture
|
| 18 |
+
- DeepSeek Eval Model
|
| 19 |
+
Section Overview:
|
| 20 |
+
- inumulaisk/eval_model
|
| 21 |
+
- This model is a finetuned on deepseek-R1-distill-quen-1.5b using LoRa
|
| 22 |
+
Adapters technique. Dataset used here is a Cloud Architecture Framework
|
| 23 |
+
dataset.
|
| 24 |
+
Table of Contents:
|
| 25 |
+
- Model Description This model has been come from deepseek-r1-distill base
|
| 26 |
+
model as it is finetuned using LoRa adapters. This model is the first
|
| 27 |
+
version deepseek-r1-distill base model finetuned model and contains 20% of
|
| 28 |
+
trainable paremeters. Apache 2.0 copyright available to this model.
|
| 29 |
+
Developed by: inumulaisk
|
| 30 |
+
Funded by: inumulaisk
|
| 31 |
+
Model type:
|
| 32 |
+
- Supervised/Learning Method
|
| 33 |
+
"Language(s) [NLP]":
|
| 34 |
+
- English.
|
| 35 |
+
License:
|
| 36 |
+
- Apache 2.0
|
| 37 |
+
Finetuned From Model:
|
| 38 |
+
- deepseek-ai/deepseek-r1-distill-quen-1.5b
|
| 39 |
+
Model Sources optional:
|
| 40 |
+
- Repository: inumulaisk/eval_model
|
| 41 |
+
|
| 42 |
---
|