Instructions to use ryandt/MusingCaterpillar with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ryandt/MusingCaterpillar with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="ryandt/MusingCaterpillar")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("ryandt/MusingCaterpillar") model = AutoModelForCausalLM.from_pretrained("ryandt/MusingCaterpillar", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use ryandt/MusingCaterpillar with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ryandt/MusingCaterpillar" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ryandt/MusingCaterpillar", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/ryandt/MusingCaterpillar
- SGLang
How to use ryandt/MusingCaterpillar 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 "ryandt/MusingCaterpillar" \ --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": "ryandt/MusingCaterpillar", "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 "ryandt/MusingCaterpillar" \ --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": "ryandt/MusingCaterpillar", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use ryandt/MusingCaterpillar with Docker Model Runner:
docker model run hf.co/ryandt/MusingCaterpillar
Adding Evaluation Results
#3
by leaderboard-pr-bot - opened
1 unmodified line2345671 unmodified linelicense: mitdatasets:- ryandt/mistral_symbolicLogic_5_7_9_short---Finetune of CultriX/MistralTrix-v1 on Symbolic Logic content from Lewis Carrol (at a very low learning rate because of the very small dataset - I'm just experimenting and have no idea if this was effective at changing the model output).1 unmodified line234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231 unmodified linelicense: mitdatasets:- ryandt/mistral_symbolicLogic_5_7_9_shortmodel-index:- name: MusingCaterpillarresults:- task:type: text-generationname: Text Generationdataset:name: AI2 Reasoning Challenge (25-Shot)type: ai2_arcconfig: ARC-Challengesplit: testargs:num_few_shot: 25metrics:- type: acc_normvalue: 72.53name: normalized accuracysource:url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=ryandt/MusingCaterpillarname: Open LLM Leaderboard- task:type: text-generationname: Text Generationdataset:name: HellaSwag (10-Shot)type: hellaswagsplit: validationargs:num_few_shot: 10metrics:- type: acc_normvalue: 88.34name: normalized accuracysource:url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=ryandt/MusingCaterpillarname: Open LLM Leaderboard- task:type: text-generationname: Text Generationdataset:name: MMLU (5-Shot)type: cais/mmluconfig: allsplit: testargs:num_few_shot: 5metrics:- type: accvalue: 65.26name: accuracysource:url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=ryandt/MusingCaterpillarname: Open LLM Leaderboard- task:type: text-generationname: Text Generationdataset:name: TruthfulQA (0-shot)type: truthful_qaconfig: multiple_choicesplit: validationargs:num_few_shot: 0metrics:- type: mc2value: 70.93source:url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=ryandt/MusingCaterpillarname: Open LLM Leaderboard- task:type: text-generationname: Text Generationdataset:name: Winogrande (5-shot)type: winograndeconfig: winogrande_xlsplit: validationargs:num_few_shot: 5metrics:- type: accvalue: 80.66name: accuracysource:url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=ryandt/MusingCaterpillarname: Open LLM Leaderboard- task:type: text-generationname: Text Generationdataset:name: GSM8k (5-shot)type: gsm8kconfig: mainsplit: testargs:num_few_shot: 5metrics:- type: accvalue: 62.24name: accuracysource:url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=ryandt/MusingCaterpillarname: Open LLM Leaderboard---Finetune of CultriX/MistralTrix-v1 on Symbolic Logic content from Lewis Carrol (at a very low learning rate because of the very small dataset - I'm just experimenting and have no idea if this was effective at changing the model output).# [Open LLM Leaderboard Evaluation Results](https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard)Detailed results can be found [here](https://huggingface.co/datasets/open-llm-leaderboard/details_ryandt__MusingCaterpillar)| Metric |Value||---------------------------------|----:||Avg. |73.33||AI2 Reasoning Challenge (25-Shot)|72.53||HellaSwag (10-Shot) |88.34||MMLU (5-Shot) |65.26||TruthfulQA (0-shot) |70.93||Winogrande (5-shot) |80.66||GSM8k (5-shot) |62.24|
README.md+117-1