Skip to content

Commit

Permalink
update to latest transformers for mixstral support (#929)
Browse files Browse the repository at this point in the history
* update to latest transformers for mixstral support

* pin transformers

* fix typo
  • Loading branch information
winglian committed Dec 10, 2023
1 parent 68b227a commit 35f9b0f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions examples/mistral/mixtral.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
base_model: DiscoResearch/mixtral-7b-8expert
model_type: MixtralForCausalLM
tokenizer_type: LlamaTokenizer
trust_remote_code: true

load_in_8bit: false
load_in_4bit: 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==4.35.2
transformers @ git+https://github.com/huggingface/transformers.git@df5c5c62ae253055336f5bb0828ca8e3e15ab6bd
tokenizers==0.15.0
bitsandbytes>=0.41.1
accelerate==0.24.1
Expand Down

0 comments on commit 35f9b0f

Please sign in to comment.