ArunKr/verified-data-manim
Viewer โข Updated โข 5 โข 7
How to use ArunKr/gemma-3-270m-it-web-agent-lora with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-generation", model="ArunKr/gemma-3-270m-it-web-agent-lora")
messages = [
{"role": "user", "content": "Who are you?"},
]
pipe(messages) # Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("ArunKr/gemma-3-270m-it-web-agent-lora", device_map="auto")How to use ArunKr/gemma-3-270m-it-web-agent-lora with vLLM:
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "ArunKr/gemma-3-270m-it-web-agent-lora"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/chat/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "ArunKr/gemma-3-270m-it-web-agent-lora",
"messages": [
{
"role": "user",
"content": "What is the capital of France?"
}
]
}'docker model run hf.co/ArunKr/gemma-3-270m-it-web-agent-lora
How to use ArunKr/gemma-3-270m-it-web-agent-lora with SGLang:
# Install SGLang from pip:
pip install sglang
# Start the SGLang server:
python3 -m sglang.launch_server \
--model-path "ArunKr/gemma-3-270m-it-web-agent-lora" \
--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": "ArunKr/gemma-3-270m-it-web-agent-lora",
"messages": [
{
"role": "user",
"content": "What is the capital of France?"
}
]
}'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 "ArunKr/gemma-3-270m-it-web-agent-lora" \
--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": "ArunKr/gemma-3-270m-it-web-agent-lora",
"messages": [
{
"role": "user",
"content": "What is the capital of France?"
}
]
}'How to use ArunKr/gemma-3-270m-it-web-agent-lora with Docker Model Runner:
docker model run hf.co/ArunKr/gemma-3-270m-it-web-agent-lora
This repository contains three variants of the model:
unsloth/gemma-3-270m-itArunKr/gui_grounding_dataset-100We provide f16, bf16, f32, and q8_0 GGUF files for llama.cpp / Ollama.
from transformers import AutoModelForCausalLM, AutoTokenizer
tok = AutoTokenizer.from_pretrained("ArunKr/gemma-3-270m-it-web-agent-16bit")
model = AutoModelForCausalLM.from_pretrained("ArunKr/gemma-3-270m-it-web-agent-16bit")
print(model.generate(**tok("Hello", return_tensors="pt")))
ollama run ArunKr/SmolLM-135M-Instruct-manim-gguf:<file_name>.gguf
Base model
HuggingFaceTB/SmolLM-135M