Run this model with HF Jobs
Run IFM/AmberChat on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/IFM/AmberChat. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/IFM/AmberChat on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/IFM/AmberChat. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/IFM/AmberChat. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use IFM/AmberChat with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use IFM/AmberChat with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="IFM/AmberChat")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("IFM/AmberChat") model = AutoModelForCausalLM.from_pretrained("IFM/AmberChat", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use IFM/AmberChat with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "IFM/AmberChat" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "IFM/AmberChat", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/IFM/AmberChat
- SGLang
How to use IFM/AmberChat 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 "IFM/AmberChat" \ --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": "IFM/AmberChat", "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 "IFM/AmberChat" \ --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": "IFM/AmberChat", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use IFM/AmberChat with Docker Model Runner:
docker model run hf.co/IFM/AmberChat
Commit History
-
Adding Evaluation Results
Verified signatureThis is an automated PR created with https://huggingface.co/spaces/Weyaxi/open-llm-leaderboard-results-pr The purpose of this PR is to add evaluation results from the Open LLM Leaderboard to your model card. If you encounter any issues, please report them to https://huggingface.co/spaces/Weyaxi/open-llm-leaderboard-results-pr/discussions4277e80
-
Update README.md
Verified signature4c6dc7a
-
Delete pytorch_model.bin
Verified signaturefb3fed3 -
Upload folder using huggingface_hub
Verified signaturedca13ab
-
Update README.md
74fba62
-
Add instructions for Ollama
5425cac
-
Update README.md
7cb16bf
-
Update README.md
7bc6f92
-
Update README.md
2320ed4
-
Update README.md
add new commands + scriptf41eb8e
-
Update README.md
3b58f6d -
Update README.md
bd7a07f -
Update README.md
a425008 -
Update README.md
3c26e9a
-
Create README.md (#1)
- Create README.md (a0ea6b36e77a89bd45d4ebc02901834a5f3f4ab5) - Update README.md (7e22dc6393e927275b4ca5aeb84e391a74c55741) - Update README.md (588a73443c5759c0942cf46df9a7ba076077fcfa) - Update README.md (afb0ba5a01b0a12609c7e4cf585aeaa00cdcbbd5) - Update README.md (7462eafb9990af995f92293cee29c62b7f59729f)0b53500
-
Upload tokenizer.json with huggingface_hub
Committing tokenizer.json4690461 -
Upload tokenizer.model with huggingface_hub
Committing tokenizer.model7241a65 -
Upload tokenizer_config.json with huggingface_hub
Committing tokenizer_config.json66cb7d6 -
Upload special_tokens_map.json with huggingface_hub
Committing special_tokens_map.json26934f5 -
Upload pytorch_model.bin with huggingface_hub
Committing pytorch_model.bin956504f -
Upload generation_config.json with huggingface_hub
Committing generation_config.json8910801 -
Upload config.json with huggingface_hub
Committing config.jsond9ce6f7
-
initial commit
d5843a9