Instructions to use callMeRover/college_recommender with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use callMeRover/college_recommender with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="callMeRover/college_recommender")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("callMeRover/college_recommender") model = AutoModelForCausalLM.from_pretrained("callMeRover/college_recommender", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use callMeRover/college_recommender with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "callMeRover/college_recommender" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "callMeRover/college_recommender", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/callMeRover/college_recommender
- SGLang
How to use callMeRover/college_recommender 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 "callMeRover/college_recommender" \ --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": "callMeRover/college_recommender", "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 "callMeRover/college_recommender" \ --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": "callMeRover/college_recommender", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use callMeRover/college_recommender with Docker Model Runner:
docker model run hf.co/callMeRover/college_recommender
Commit History
-
Upload merges.txt with huggingface_hub
22aa39d -
Upload vocab.json with huggingface_hub
4ece8d8 -
Upload special_tokens_map.json with huggingface_hub
a8891bd -
Upload added_tokens.json with huggingface_hub
d0b9667 -
Upload tokenizer_config.json with huggingface_hub
8f7b57b -
Upload training_args.bin with huggingface_hub
860590b -
Upload pytorch_model.bin with huggingface_hub
81d8e6c -
Upload generation_config.json with huggingface_hub
912799b -
Upload config.json with huggingface_hub
d60328a
-
Upload generation_config.json with huggingface_hub
d5b3dbe -
Upload config.json with huggingface_hub
e9f7b39
-
Upload special_tokens_map.json with huggingface_hub
88317ee -
Upload merges.txt with huggingface_hub
45a45cd -
Upload tokenizer_config.json with huggingface_hub
3c1cbc7 -
Upload added_tokens.json with huggingface_hub
1392a61 -
Upload training_args.bin with huggingface_hub
6dc555d -
Upload vocab.json with huggingface_hub
46e7377 -
Upload pytorch_model.bin with huggingface_hub
0a5e7b5 -
Upload generation_config.json with huggingface_hub
9e4cf38 -
Upload config.json with huggingface_hub
0dcc3d5
-
Upload merges.txt with huggingface_hub
3e9aa73 -
Upload vocab.json with huggingface_hub
1571de7 -
Upload added_tokens.json with huggingface_hub
50dcbd8 -
Upload special_tokens_map.json with huggingface_hub
18c7e14 -
Upload tokenizer_config.json with huggingface_hub
8a5138b -
Upload training_args.bin with huggingface_hub
379da71 -
Upload pytorch_model.bin with huggingface_hub
f7cd7e8 -
Upload generation_config.json with huggingface_hub
d19ff33 -
Upload config.json with huggingface_hub
32fc05a -
Upload merges.txt with huggingface_hub
96b9c1c -
Upload vocab.json with huggingface_hub
b29683f -
Upload added_tokens.json with huggingface_hub
c957cf3 -
Upload special_tokens_map.json with huggingface_hub
3fd4abd -
Upload tokenizer_config.json with huggingface_hub
d393857 -
Upload training_args.bin with huggingface_hub
a50ed2e -
Upload pytorch_model.bin with huggingface_hub
30ec7db -
Upload generation_config.json with huggingface_hub
eebebd8 -
Upload config.json with huggingface_hub
e670078 -
initial commit
d6bfda6