Text Generation
Transformers
Safetensors
llama
mergekit
Merge
conversational
Eval Results (legacy)
text-generation-inference
Instructions to use DreadPoor/Rusted_Gold-8B-LINEAR with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DreadPoor/Rusted_Gold-8B-LINEAR with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="DreadPoor/Rusted_Gold-8B-LINEAR") 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("DreadPoor/Rusted_Gold-8B-LINEAR") model = AutoModelForCausalLM.from_pretrained("DreadPoor/Rusted_Gold-8B-LINEAR", 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 DreadPoor/Rusted_Gold-8B-LINEAR with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "DreadPoor/Rusted_Gold-8B-LINEAR" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "DreadPoor/Rusted_Gold-8B-LINEAR", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/DreadPoor/Rusted_Gold-8B-LINEAR
- SGLang
How to use DreadPoor/Rusted_Gold-8B-LINEAR 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 "DreadPoor/Rusted_Gold-8B-LINEAR" \ --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": "DreadPoor/Rusted_Gold-8B-LINEAR", "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 "DreadPoor/Rusted_Gold-8B-LINEAR" \ --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": "DreadPoor/Rusted_Gold-8B-LINEAR", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use DreadPoor/Rusted_Gold-8B-LINEAR with Docker Model Runner:
docker model run hf.co/DreadPoor/Rusted_Gold-8B-LINEAR
Adding Evaluation Results (#1)
Browse files- Adding Evaluation Results (72445a80434a447b267da7e3498d2c56374bb886)
9 unmodified lines1011121314151632 unmodified lines4950519 unmodified linestags:- mergekit- merge---# merge32 unmodified linesdtype: bfloat16```9 unmodified lines10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311432 unmodified lines1471481491501511521531541551561571581591601611621631649 unmodified linestags:- mergekit- mergemodel-index:- name: Rusted_Gold-8B-LINEARresults:- task:type: text-generationname: Text Generationdataset:name: IFEval (0-Shot)type: wis-k/instruction-following-evalsplit: trainargs:num_few_shot: 0metrics:- type: inst_level_strict_acc and prompt_level_strict_accvalue: 72.96name: averaged accuracysource:url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard#/?search=DreadPoor%2FRusted_Gold-8B-LINEARname: Open LLM Leaderboard- task:type: text-generationname: Text Generationdataset:name: BBH (3-Shot)type: SaylorTwift/bbhsplit: testargs:num_few_shot: 3metrics:- type: acc_normvalue: 34.12name: normalized accuracysource:url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard#/?search=DreadPoor%2FRusted_Gold-8B-LINEARname: Open LLM Leaderboard- task:type: text-generationname: Text Generationdataset:name: MATH Lvl 5 (4-Shot)type: lighteval/MATH-Hardsplit: testargs:num_few_shot: 4metrics:- type: exact_matchvalue: 19.34name: exact matchsource:url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard#/?search=DreadPoor%2FRusted_Gold-8B-LINEARname: Open LLM Leaderboard- task:type: text-generationname: Text Generationdataset:name: GPQA (0-shot)type: Idavidrein/gpqasplit: trainargs:num_few_shot: 0metrics:- type: acc_normvalue: 6.49name: acc_normsource:url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard#/?search=DreadPoor%2FRusted_Gold-8B-LINEARname: Open LLM Leaderboard- task:type: text-generationname: Text Generationdataset:name: MuSR (0-shot)type: TAUR-Lab/MuSRargs:num_few_shot: 0metrics:- type: acc_normvalue: 12.12name: acc_normsource:url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard#/?search=DreadPoor%2FRusted_Gold-8B-LINEARname: 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: 30.89name: accuracysource:url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard#/?search=DreadPoor%2FRusted_Gold-8B-LINEARname: Open LLM Leaderboard---# merge32 unmodified linesdtype: bfloat16```# [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/DreadPoor__Rusted_Gold-8B-LINEAR-details)!Summarized results can be found [here](https://huggingface.co/datasets/open-llm-leaderboard/contents/viewer/default/train?q=DreadPoor%2FRusted_Gold-8B-LINEAR&sort[column]=Average%20%E2%AC%86%EF%B8%8F&sort[direction]=desc)!| Metric |Value (%)||-------------------|--------:||**Average** | 29.32||IFEval (0-Shot) | 72.96||BBH (3-Shot) | 34.12||MATH Lvl 5 (4-Shot)| 19.34||GPQA (0-shot) | 6.49||MuSR (0-shot) | 12.12||MMLU-PRO (5-shot) | 30.89|
README.md+114-1