Instructions to use monsterapi/codellama_7b_DolphinCoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use monsterapi/codellama_7b_DolphinCoder with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("codellama/CodeLlama-7b-hf") model = PeftModel.from_pretrained(base_model, "monsterapi/codellama_7b_DolphinCoder") - Notebooks
- Google Colab
- Kaggle
Adding Evaluation Results
#4
by leaderboard-pr-bot - opened
12342 unmodified lines7891011121328 unmodified lines42434445---library_name: pefttags:- code2 unmodified linesdatasets:- cognitivecomputations/dolphin-coderbase_model: codellama/CodeLlama-7b-hflicense: apache-2.0---### Finetuning Overview:28 unmodified lines---license: apache-2.0123452 unmodified lines8910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511628 unmodified lines145146147148149150151152153154155156157158159160161---license: apache-2.0library_name: pefttags:- code2 unmodified linesdatasets:- cognitivecomputations/dolphin-coderbase_model: codellama/CodeLlama-7b-hfmodel-index:- name: codellama_7b_DolphinCoderresults:- 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: 41.98name: normalized accuracysource:url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=Zangs3011/codellama_7b_DolphinCodername: Open LLM Leaderboard- task:type: text-generationname: Text Generationdataset:name: HellaSwag (10-Shot)type: hellaswagsplit: validationargs:num_few_shot: 10metrics:- type: acc_normvalue: 65.5name: normalized accuracysource:url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=Zangs3011/codellama_7b_DolphinCodername: Open LLM Leaderboard- task:type: text-generationname: Text Generationdataset:name: MMLU (5-Shot)type: cais/mmluconfig: allsplit: testargs:num_few_shot: 5metrics:- type: accvalue: 38.11name: accuracysource:url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=Zangs3011/codellama_7b_DolphinCodername: 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: 35.45source:url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=Zangs3011/codellama_7b_DolphinCodername: Open LLM Leaderboard- task:type: text-generationname: Text Generationdataset:name: Winogrande (5-shot)type: winograndeconfig: winogrande_xlsplit: validationargs:num_few_shot: 5metrics:- type: accvalue: 63.61name: accuracysource:url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=Zangs3011/codellama_7b_DolphinCodername: Open LLM Leaderboard- task:type: text-generationname: Text Generationdataset:name: GSM8k (5-shot)type: gsm8kconfig: mainsplit: testargs:num_few_shot: 5metrics:- type: accvalue: 9.7name: accuracysource:url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=Zangs3011/codellama_7b_DolphinCodername: Open LLM Leaderboard---### Finetuning Overview:28 unmodified lines---license: apache-2.0# [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_Zangs3011__codellama_7b_DolphinCoder)| Metric |Value||---------------------------------|----:||Avg. |42.39||AI2 Reasoning Challenge (25-Shot)|41.98||HellaSwag (10-Shot) |65.50||MMLU (5-Shot) |38.11||TruthfulQA (0-shot) |35.45||Winogrande (5-shot) |63.61||GSM8k (5-shot) | 9.70|
README.md+118-2