Instructions to use huranokuma/es with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use huranokuma/es with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="huranokuma/es")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("huranokuma/es") model = AutoModelForCausalLM.from_pretrained("huranokuma/es", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use huranokuma/es with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "huranokuma/es" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "huranokuma/es", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/huranokuma/es
- SGLang
How to use huranokuma/es 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 "huranokuma/es" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "huranokuma/es", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'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 "huranokuma/es" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "huranokuma/es", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use huranokuma/es with Docker Model Runner:
docker model run hf.co/huranokuma/es
Commit History
-
Update README.md
b56a436
-
Update README.md
4226b60 -
Update README.md
c4672bf
-
Update README.md
6f20516
-
Update README.md
7e82cb3 -
Delete es.txt
6c4a764 -
Upload es.txt
1c5f684 -
Update README.md
e368547 -
Upload pytorch_model.bin
dda9ea6 -
Delete pytorch_model.bin
c549720 -
Upload spiece.model
681308b -
Delete spiece.model
44d85f7 -
Upload spiece.model
c9a2012 -
Delete training_args.bin
144c55e -
Delete rng_state.pth
cc40471 -
Delete trainer_state.json
46329c9 -
Delete scheduler.pt
74b22bf -
Delete optimizer.pt
e6fbf61
-
Update README.md
71846cd -
Update README.md
b03a230 -
Update README.md
b3c02b1 -
Update README.md
1496468 -
Update README.md
dd5d8ae -
Update README.md
4a6cd43 -
Upload training_args.bin
ae0a1ae -
Upload trainer_state.json
0250ef9 -
Upload tokenizer_config.json
49ee59d -
Upload spiece.model
6230b4c -
Upload special_tokens_map.json
cbb8e64 -
Upload scheduler.pt
ce657c1 -
Upload rng_state.pth
be2a6c5 -
Upload pytorch_model.bin
c2de84e -
Upload optimizer.pt
5e3d103 -
Upload config.json
248ebc1 -
initial commit
4b47df7