Skip to content

Commit

Permalink
Correct model license metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
jncraton committed Jan 5, 2024
1 parent 9c3f6ab commit e4e9bdc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
- Updated to TinyLlama Chat v1.0
- Remove auto model scaling on Colab
- Correct phi-1.5 prompt format
- Correct model license metadata

### Added

Expand Down
8 changes: 4 additions & 4 deletions languagemodels/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class ModelFilterException(Exception):
"quantization": "int8",
"backend": "ct2",
"architecture": "encoder-decoder-transformer",
"license": "cc-by-nc-4.0", # HF says apache-2.0, but alpaca is NC
"license": "apache-2.0",
},
{
"name": "flan-alpaca-gpt4-xl",
Expand All @@ -84,7 +84,7 @@ class ModelFilterException(Exception):
"quantization": "int8",
"backend": "ct2",
"architecture": "encoder-decoder-transformer",
"license": "cc-by-nc-4.0", # HF says apache-2.0, but alpaca is NC
"license": "apache-2.0",
},
{
"name": "flan-t5-xl",
Expand All @@ -104,7 +104,7 @@ class ModelFilterException(Exception):
"quantization": "int8",
"backend": "ct2",
"architecture": "encoder-decoder-transformer",
"license": "apache-2.0", # This does use OpenAI-generated data
"license": "apache-2.0",
},
{
"name": "LaMini-Flan-T5-783M",
Expand Down Expand Up @@ -144,7 +144,7 @@ class ModelFilterException(Exception):
"quantization": "int8",
"backend": "ct2",
"architecture": "encoder-decoder-transformer",
"license": "cc-by-nc-4.0", # HF says apache-2.0, but alpaca is NC
"license": "apache-2.0",
},
{
"name": "flan-t5-base",
Expand Down

0 comments on commit e4e9bdc

Please sign in to comment.