Skip to content

Commit 81f1e5c

Browse files
authored
Add phi-1_5 model (#493)
NOTE: Currently only works with node.js backend
1 parent 38ec1d4 commit 81f1e5c

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

scripts/convert.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@
7575
'per_channel': False,
7676
'reduce_range': False,
7777
},
78+
'phi': {
79+
'per_channel': False,
80+
'reduce_range': False,
81+
},
7882

7983
# Encoder-decoder models
8084
'whisper': {

scripts/supported_models.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -714,6 +714,7 @@
714714
# Text generation
715715
'text-generation': [
716716
'hf-internal-testing/tiny-random-PhiForCausalLM',
717+
'susnato/phi-1_5_dev',
717718
],
718719
},
719720
'roberta': {

0 commit comments

Comments
 (0)