-
Notifications
You must be signed in to change notification settings - Fork 27.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
153 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
<!--Copyright 2024 The HuggingFace Team. All rights reserved. | ||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with | ||
the License. You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on | ||
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the | ||
specific language governing permissions and limitations under the License. | ||
⚠️ Note that this file is in Markdown but contain specific syntax for our doc-builder (similar to MDX) that may not be | ||
rendered properly in your Markdown viewer. | ||
--> | ||
|
||
# moonshine | ||
|
||
# moonshine | ||
|
||
## Overview | ||
|
||
The moonshine model was proposed in [<INSERT PAPER NAME HERE>](<INSERT PAPER LINK HERE>) by <INSERT AUTHORS HERE>. | ||
<INSERT SHORT SUMMARY HERE> | ||
|
||
The abstract from the paper is the following: | ||
|
||
*<INSERT PAPER ABSTRACT HERE>* | ||
|
||
Tips: | ||
|
||
<INSERT TIPS ABOUT MODEL HERE> | ||
|
||
This model was contributed by [INSERT YOUR HF USERNAME HERE](https://huggingface.co/<INSERT YOUR HF USERNAME HERE>). | ||
The original code can be found [here](<INSERT LINK TO GITHUB REPO HERE>). | ||
|
||
|
||
## MoonshineConfig | ||
|
||
[[autodoc]] MoonshineConfig | ||
|
||
## MoonshineTokenizer | ||
|
||
[[autodoc]] MoonshineTokenizer | ||
- set_prefix_tokens | ||
- build_inputs_with_special_tokens | ||
- get_special_tokens_mask | ||
- create_token_type_ids_from_sequences | ||
- save_vocabulary | ||
- batch_decode | ||
- decode | ||
- basic_normalize | ||
- normalize | ||
|
||
## MoonshineTokenizerFast | ||
|
||
[[autodoc]] MoonshineTokenizerFast | ||
- set_prefix_tokens | ||
- build_inputs_with_special_tokens | ||
- get_special_tokens_mask | ||
- create_token_type_ids_from_sequences | ||
- save_vocabulary | ||
- batch_decode | ||
- decode | ||
- basic_normalize | ||
- normalize | ||
|
||
## MoonshineFeatureExtractor | ||
|
||
[[autodoc]] MoonshineFeatureExtractor | ||
- __call__ | ||
|
||
## MoonshineProcessor | ||
|
||
[[autodoc]] MoonshineProcessor | ||
- __call__ | ||
- from_pretrained | ||
- save_pretrained | ||
- batch_decode | ||
- decode | ||
|
||
<frameworkcontent> | ||
<pt> | ||
|
||
## MoonshineModel | ||
|
||
[[autodoc]] MoonshineModel | ||
- forward | ||
- _mask_input_features | ||
|
||
## MoonshineForConditionalGeneration | ||
|
||
[[autodoc]] MoonshineForConditionalGeneration | ||
- forward | ||
- generate | ||
|
||
## MoonshineForCausalLM | ||
|
||
[[autodoc]] MoonshineForCausalLM | ||
- forward | ||
|
||
## MoonshineForAudioClassification | ||
|
||
[[autodoc]] MoonshineForAudioClassification | ||
- forward | ||
|
||
</pt> | ||
<tf> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -103,6 +103,7 @@ | |
gpt_bigcode, | ||
gpt_neo, | ||
gpt_neox, | ||
moonshine, | ||
gpt_neox_japanese, | ||
gpt_sw3, | ||
gptj, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.