Text Generation
Transformers
Safetensors
English
qwen2
conversational
Eval Results (legacy)
text-generation-inference
Run this model with HF Jobs
Run fblgit/TheBeagle-v2beta-32B-MGS 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/fblgit/TheBeagle-v2beta-32B-MGS. 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/fblgit/TheBeagle-v2beta-32B-MGS 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/fblgit/TheBeagle-v2beta-32B-MGS. 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/fblgit/TheBeagle-v2beta-32B-MGS. 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 fblgit/TheBeagle-v2beta-32B-MGS with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use fblgit/TheBeagle-v2beta-32B-MGS with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="fblgit/TheBeagle-v2beta-32B-MGS") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("fblgit/TheBeagle-v2beta-32B-MGS") model = AutoModelForCausalLM.from_pretrained("fblgit/TheBeagle-v2beta-32B-MGS", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use fblgit/TheBeagle-v2beta-32B-MGS with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "fblgit/TheBeagle-v2beta-32B-MGS" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "fblgit/TheBeagle-v2beta-32B-MGS", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/fblgit/TheBeagle-v2beta-32B-MGS
- SGLang
How to use fblgit/TheBeagle-v2beta-32B-MGS 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 "fblgit/TheBeagle-v2beta-32B-MGS" \ --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": "fblgit/TheBeagle-v2beta-32B-MGS", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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 "fblgit/TheBeagle-v2beta-32B-MGS" \ --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": "fblgit/TheBeagle-v2beta-32B-MGS", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use fblgit/TheBeagle-v2beta-32B-MGS with Docker Model Runner:
docker model run hf.co/fblgit/TheBeagle-v2beta-32B-MGS
Adding Evaluation Results
#1
by leaderboard-pr-bot - opened
12345678910111274 unmodified lines87888990---license: mitdatasets:- Magpie-Align/Magpie-Pro-300K-Filteredlanguage:- enbase_model:- Qwen/Qwen2.5-32B-Instructlibrary_name: transformers---# TheBeagle-v2beta-32B-MGS74 unmodified lines## Thanks- Qwen Team for their outstanding model- MagPie Team for contributing plenty of datasets- Cybertron Cloud Compute12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610774 unmodified lines182183184185186187188189190191192193194195196197198---language:- enlicense: mitlibrary_name: transformersbase_model:- Qwen/Qwen2.5-32B-Instructdatasets:- Magpie-Align/Magpie-Pro-300K-Filteredmodel-index:- name: TheBeagle-v2beta-32B-MGSresults:- task:type: text-generationname: Text Generationdataset:name: IFEval (0-Shot)type: HuggingFaceH4/ifevalargs:num_few_shot: 0metrics:- type: inst_level_strict_acc and prompt_level_strict_accvalue: 45.03name: strict accuracysource:url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=fblgit/TheBeagle-v2beta-32B-MGSname: Open LLM Leaderboard- task:type: text-generationname: Text Generationdataset:name: BBH (3-Shot)type: BBHargs:num_few_shot: 3metrics:- type: acc_normvalue: 58.07name: normalized accuracysource:url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=fblgit/TheBeagle-v2beta-32B-MGSname: Open LLM Leaderboard- task:type: text-generationname: Text Generationdataset:name: MATH Lvl 5 (4-Shot)type: hendrycks/competition_mathargs:num_few_shot: 4metrics:- type: exact_matchvalue: 39.43name: exact matchsource:url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=fblgit/TheBeagle-v2beta-32B-MGSname: Open LLM Leaderboard- task:type: text-generationname: Text Generationdataset:name: GPQA (0-shot)type: Idavidrein/gpqaargs:num_few_shot: 0metrics:- type: acc_normvalue: 20.13name: acc_normsource:url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=fblgit/TheBeagle-v2beta-32B-MGSname: Open LLM Leaderboard- task:type: text-generationname: Text Generationdataset:name: MuSR (0-shot)type: TAUR-Lab/MuSRargs:num_few_shot: 0metrics:- type: acc_normvalue: 24.5name: acc_normsource:url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=fblgit/TheBeagle-v2beta-32B-MGSname: Open LLM Leaderboard- task:type: text-generationname: Text Generationdataset:name: MMLU-PRO (5-shot)type: TIGER-Lab/MMLU-Proconfig: mainsplit: testargs:num_few_shot: 5metrics:- type: accvalue: 54.57name: accuracysource:url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=fblgit/TheBeagle-v2beta-32B-MGSname: Open LLM Leaderboard---# TheBeagle-v2beta-32B-MGS74 unmodified lines## Thanks- Qwen Team for their outstanding model- MagPie Team for contributing plenty of datasets- Cybertron Cloud Compute# [Open LLM Leaderboard Evaluation Results](https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard)Detailed results can be found [here](https://huggingface.co/datasets/open-llm-leaderboard/details_fblgit__TheBeagle-v2beta-32B-MGS)| Metric |Value||-------------------|----:||Avg. |40.29||IFEval (0-Shot) |45.03||BBH (3-Shot) |58.07||MATH Lvl 5 (4-Shot)|39.43||GPQA (0-shot) |20.13||MuSR (0-shot) |24.50||MMLU-PRO (5-shot) |54.57|
README.md+113-5