Translation
Transformers
PyTorch
Safetensors
Chinese
English
bloom
text-generation
gpt-style
chinese
english
text-generation-inference
Instructions to use nullday/immersiveL-exp with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nullday/immersiveL-exp with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "translation" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # 'pip install "transformers<5.0.0' from transformers import pipeline pipe = pipeline("translation", model="nullday/immersiveL-exp")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("nullday/immersiveL-exp") model = AutoModelForCausalLM.from_pretrained("nullday/immersiveL-exp") - Notebooks
- Google Colab
- Kaggle
Upload 5 files
#10
by TimVan1 - opened
- config.json +1 -1
- pytorch_model.bin +1 -1
- tokenizer_config.json +1 -1
config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "
|
| 3 |
"apply_residual_connection_post_layernorm": false,
|
| 4 |
"architectures": [
|
| 5 |
"BloomForCausalLM"
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "/home/envd/data/timvan/test_extend/pennyfunai-translate/pennyfun/models/bilingual_trans_bloomz_1b1_24700/checkpoint-24700",
|
| 3 |
"apply_residual_connection_post_layernorm": false,
|
| 4 |
"architectures": [
|
| 5 |
"BloomForCausalLM"
|
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 5802770517
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:85b0104001067cc4afab7acb8587d1cd707b17bffa36679a5bc573cb7e21f7ab
|
| 3 |
size 5802770517
|
tokenizer_config.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
"bos_token": "<s>",
|
| 4 |
"clean_up_tokenization_spaces": false,
|
| 5 |
"eos_token": "</s>",
|
| 6 |
-
"model_max_length":
|
| 7 |
"pad_token": "<pad>",
|
| 8 |
"padding_side": "left",
|
| 9 |
"tokenizer_class": "BloomTokenizer",
|
|
|
|
| 3 |
"bos_token": "<s>",
|
| 4 |
"clean_up_tokenization_spaces": false,
|
| 5 |
"eos_token": "</s>",
|
| 6 |
+
"model_max_length": 700,
|
| 7 |
"pad_token": "<pad>",
|
| 8 |
"padding_side": "left",
|
| 9 |
"tokenizer_class": "BloomTokenizer",
|