Skip to content

Commit

Permalink
Add phi-1_5 model (#493)
Browse files Browse the repository at this point in the history
NOTE: Currently only works with node.js backend
  • Loading branch information
xenova authored Jan 2, 2024
1 parent 38ec1d4 commit 81f1e5c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@
'per_channel': False,
'reduce_range': False,
},
'phi': {
'per_channel': False,
'reduce_range': False,
},

# Encoder-decoder models
'whisper': {
Expand Down
1 change: 1 addition & 0 deletions scripts/supported_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -714,6 +714,7 @@
# Text generation
'text-generation': [
'hf-internal-testing/tiny-random-PhiForCausalLM',
'susnato/phi-1_5_dev',
],
},
'roberta': {
Expand Down

0 comments on commit 81f1e5c

Please sign in to comment.