Skip to content

Commit

Permalink
Mixtral official (#942)
Browse files Browse the repository at this point in the history
* multipack support for official mixtral implementation

* fix patch to load multipack for mixtral

* chore: lint
  • Loading branch information
winglian authored Dec 12, 2023
1 parent 9a5eb39 commit 7fabc4d
Show file tree
Hide file tree
Showing 8 changed files with 443 additions and 1,703 deletions.
4 changes: 2 additions & 2 deletions examples/mistral/mixtral.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
base_model: DiscoResearch/mixtral-7b-8expert
model_type: MixtralForCausalLM
base_model: mistralai/Mixtral-8x7B-v0.1
model_type: AutoModelForCausalLM
tokenizer_type: LlamaTokenizer
trust_remote_code: true

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
auto-gptq==0.5.1
packaging
peft==0.6.0
transformers @ git+https://github.com/huggingface/transformers.git@df5c5c62ae253055336f5bb0828ca8e3e15ab6bd
transformers @ git+https://github.com/huggingface/transformers.git@e5079b0b2abcef11ecbdae60ba4a6636c57b725d
tokenizers==0.15.0
bitsandbytes>=0.41.1
accelerate==0.24.1
Expand Down
6 changes: 0 additions & 6 deletions src/axolotl/models/mixtral/__init__.py

This file was deleted.

154 changes: 0 additions & 154 deletions src/axolotl/models/mixtral/configuration_moe_mistral.py

This file was deleted.

Loading

0 comments on commit 7fabc4d

Please sign in to comment.