Text Generation
Transformers
Safetensors
chess_transformer
chess
llm-course
chess-challenge
custom_code
Instructions to use LLM-course/chess_oussamalez_overfit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use LLM-course/chess_oussamalez_overfit with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="LLM-course/chess_oussamalez_overfit", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("LLM-course/chess_oussamalez_overfit", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use LLM-course/chess_oussamalez_overfit with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "LLM-course/chess_oussamalez_overfit" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "LLM-course/chess_oussamalez_overfit", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/LLM-course/chess_oussamalez_overfit
- SGLang
How to use LLM-course/chess_oussamalez_overfit 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 "LLM-course/chess_oussamalez_overfit" \ --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": "LLM-course/chess_oussamalez_overfit", "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 "LLM-course/chess_oussamalez_overfit" \ --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": "LLM-course/chess_oussamalez_overfit", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use LLM-course/chess_oussamalez_overfit with Docker Model Runner:
docker model run hf.co/LLM-course/chess_oussamalez_overfit
Download optimizer.pt from LLM-course/chess_oussamalez_overfit: direct link, hf CLI and curl.
- Browser
- Download file 7.53 MB
-
https://huggingface.co/LLM-course/chess_oussamalez_overfit/resolve/main/optimizer.pt
- Command line
-
hf download hf://LLM-course/chess_oussamalez_overfit/optimizer.pt
-
curl -L -o optimizer.pt https://huggingface.co/LLM-course/chess_oussamalez_overfit/resolve/main/optimizer.pt
7.53 MB
- Xet hash:
- 7c24171f35f1fb374d90d7ec946d510f3797e61194d7e0f40564ae47712e556d
- Size of remote file:
- 7.53 MB
- SHA256:
- 63fac4b0e8a1d61e1e22525ffd554389e8dcf49e9f6af8f7dc8a76245c8f962d
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.