Skip to content

Commit

Permalink
Docs for starcoder2 (#524)
Browse files Browse the repository at this point in the history
  • Loading branch information
EricLBuehler committed Jul 2, 2024
1 parent 52c3edf commit 8b0f34c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ https://github.com/EricLBuehler/mistral.rs/assets/65165915/09d9a30f-1e22-4b9a-90
|Phi 3 Vision|| || |
|Idefics 2|| || |
|Gemma 2|||||
|Starcoder 2|||||

## APIs and Integrations

Expand Down Expand Up @@ -345,6 +346,7 @@ Additionally, for models without quantization, the model architecture should be
- `phi3`
- `qwen2`
- `gemma2`
- `starcoder2`

### Architecture for vision models

Expand Down Expand Up @@ -438,6 +440,7 @@ Example:
|Phi 3 Vision| | ||
|Idefics 2| | ||
|Gemma 2| | ||
|Starcoder 2| | ||

**Device mapping support**
|Model category|Supported|
Expand All @@ -460,6 +463,7 @@ Example:
|Phi 3 Vision| | | |
|Idefics 2| | | |
|Gemma 2|| | |
|Starcoder 2|| | |

**AnyMoE support**
|Model|AnyMoE|
Expand All @@ -474,6 +478,7 @@ Example:
|Phi 3 Vision| |
|Idefics 2| |
|Gemma 2||
|Starcoder 2||


### Using derivative model
Expand Down
1 change: 1 addition & 0 deletions mistralrs-pyo3/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Additionally, for models without quantization, the model architecture should be
- `Phi3`
- `Qwen2`
- `Gemma2`
- `Starcoder2`

### Architecture for vision models
- `Phi3V`
Expand Down
2 changes: 2 additions & 0 deletions mistralrs-pyo3/src/which.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ pub enum Architecture {
Phi3,
Qwen2,
Gemma2,
Starcoder2,
}

impl From<Architecture> for NormalLoaderType {
Expand All @@ -25,6 +26,7 @@ impl From<Architecture> for NormalLoaderType {
Architecture::Phi3 => Self::Phi3,
Architecture::Qwen2 => Self::Qwen2,
Architecture::Gemma2 => Self::Gemma2,
Architecture::Starcoder2 => Self::Starcoder2,
}
}
}
Expand Down

0 comments on commit 8b0f34c

Please sign in to comment.