applied-ai-018 commited on
Commit
53b1d90
·
verified ·
1 Parent(s): 1946a6b

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +1 -0
  2. ckpts/universal/global_step20/zero/12.mlp.dense_h_to_4h_swiglu.weight/fp32.pt +3 -0
  3. ckpts/universal/global_step20/zero/22.mlp.dense_h_to_4h.weight/exp_avg.pt +3 -0
  4. ckpts/universal/global_step20/zero/22.mlp.dense_h_to_4h.weight/exp_avg_sq.pt +3 -0
  5. ckpts/universal/global_step20/zero/22.mlp.dense_h_to_4h.weight/fp32.pt +3 -0
  6. lm-evaluation-harness/tests/testdata/blimp_determiner_noun_agreement_2-v0-loglikelihood +1 -0
  7. lm-evaluation-harness/tests/testdata/blimp_distractor_agreement_relative_clause-v0-loglikelihood +1 -0
  8. lm-evaluation-harness/tests/testdata/blimp_existential_there_quantifiers_1-v0-res.json +1 -0
  9. lm-evaluation-harness/tests/testdata/blimp_irregular_past_participle_adjectives-v0-loglikelihood +1 -0
  10. lm-evaluation-harness/tests/testdata/blimp_irregular_past_participle_adjectives-v0-res.json +1 -0
  11. lm-evaluation-harness/tests/testdata/blimp_tough_vs_raising_2-v0-loglikelihood +1 -0
  12. lm-evaluation-harness/tests/testdata/blimp_wh_questions_subject_gap-v0-loglikelihood +1 -0
  13. lm-evaluation-harness/tests/testdata/blimp_wh_questions_subject_gap_long_distance-v0-loglikelihood +1 -0
  14. lm-evaluation-harness/tests/testdata/crows_pairs_english_age-v0-loglikelihood +1 -0
  15. lm-evaluation-harness/tests/testdata/crows_pairs_english_religion-v0-loglikelihood +1 -0
  16. lm-evaluation-harness/tests/testdata/crows_pairs_french_age-v0-loglikelihood +1 -0
  17. lm-evaluation-harness/tests/testdata/crows_pairs_french_gender-v0-loglikelihood +1 -0
  18. lm-evaluation-harness/tests/testdata/crows_pairs_french_sexual_orientation-v0-res.json +1 -0
  19. lm-evaluation-harness/tests/testdata/crows_pairs_french_socioeconomic-v0-res.json +1 -0
  20. lm-evaluation-harness/tests/testdata/drop-v0-greedy_until +1 -0
  21. lm-evaluation-harness/tests/testdata/ethics_justice-v0-loglikelihood +1 -0
  22. lm-evaluation-harness/tests/testdata/hendrycksTest-high_school_macroeconomics-v0-res.json +1 -0
  23. lm-evaluation-harness/tests/testdata/hendrycksTest-human_sexuality-v0-res.json +1 -0
  24. lm-evaluation-harness/tests/testdata/hendrycksTest-marketing-v0-res.json +1 -0
  25. lm-evaluation-harness/tests/testdata/hendrycksTest-miscellaneous-v0-loglikelihood +1 -0
  26. lm-evaluation-harness/tests/testdata/hendrycksTest-nutrition-v0-loglikelihood +1 -0
  27. lm-evaluation-harness/tests/testdata/hendrycksTest-virology-v0-loglikelihood +1 -0
  28. lm-evaluation-harness/tests/testdata/iwslt17-en-ar-v0-greedy_until +1 -0
  29. lm-evaluation-harness/tests/testdata/lambada_mt_fr-v0-res.json +1 -0
  30. lm-evaluation-harness/tests/testdata/lambada_openai_mt_it-v0-res.json +1 -0
  31. lm-evaluation-harness/tests/testdata/math_num_theory-v1-res.json +1 -0
  32. lm-evaluation-harness/tests/testdata/pile_bookcorpus2-v1-loglikelihood_rolling +1 -0
  33. lm-evaluation-harness/tests/testdata/pile_books3-v0-loglikelihood_rolling +1 -0
  34. lm-evaluation-harness/tests/testdata/pile_europarl-v1-res.json +1 -0
  35. lm-evaluation-harness/tests/testdata/pile_openwebtext2-v0-loglikelihood_rolling +1 -0
  36. lm-evaluation-harness/tests/testdata/pile_pubmed-abstracts-v1-res.json +1 -0
  37. lm-evaluation-harness/tests/testdata/qnli-v0-res.json +1 -0
  38. lm-evaluation-harness/tests/testdata/qqp-v0-loglikelihood +1 -0
  39. lm-evaluation-harness/tests/testdata/triviaqa-v1-loglikelihood +1 -0
  40. lm-evaluation-harness/tests/testdata/wmt16-ro-en-v0-res.json +1 -0
  41. lm-evaluation-harness/tests/testdata/wmt20-de-en-v0-res.json +1 -0
  42. lm-evaluation-harness/tests/testdata/wsc273-v0-res.json +1 -0
  43. venv/lib/python3.10/site-packages/nvidia/cufft/lib/libcufftw.so.11 +3 -0
  44. venv/lib/python3.10/site-packages/transformers/models/blenderbot/__init__.py +142 -0
  45. venv/lib/python3.10/site-packages/transformers/models/blenderbot/__pycache__/__init__.cpython-310.pyc +0 -0
  46. venv/lib/python3.10/site-packages/transformers/models/blenderbot/__pycache__/configuration_blenderbot.cpython-310.pyc +0 -0
  47. venv/lib/python3.10/site-packages/transformers/models/blenderbot/__pycache__/convert_blenderbot_original_pytorch_checkpoint_to_pytorch.cpython-310.pyc +0 -0
  48. venv/lib/python3.10/site-packages/transformers/models/blenderbot/__pycache__/modeling_blenderbot.cpython-310.pyc +0 -0
  49. venv/lib/python3.10/site-packages/transformers/models/blenderbot/__pycache__/modeling_flax_blenderbot.cpython-310.pyc +0 -0
  50. venv/lib/python3.10/site-packages/transformers/models/blenderbot/__pycache__/modeling_tf_blenderbot.cpython-310.pyc +0 -0
.gitattributes CHANGED
@@ -86,3 +86,4 @@ venv/lib/python3.10/site-packages/regex/_regex.cpython-310-x86_64-linux-gnu.so f
86
  venv/lib/python3.10/site-packages/nvidia/cuda_cupti/lib/libcheckpoint.so filter=lfs diff=lfs merge=lfs -text
87
  venv/lib/python3.10/site-packages/nvidia/cuda_cupti/lib/libcupti.so.12 filter=lfs diff=lfs merge=lfs -text
88
  venv/lib/python3.10/site-packages/nvidia/cuda_cupti/lib/libnvperf_target.so filter=lfs diff=lfs merge=lfs -text
 
 
86
  venv/lib/python3.10/site-packages/nvidia/cuda_cupti/lib/libcheckpoint.so filter=lfs diff=lfs merge=lfs -text
87
  venv/lib/python3.10/site-packages/nvidia/cuda_cupti/lib/libcupti.so.12 filter=lfs diff=lfs merge=lfs -text
88
  venv/lib/python3.10/site-packages/nvidia/cuda_cupti/lib/libnvperf_target.so filter=lfs diff=lfs merge=lfs -text
89
+ venv/lib/python3.10/site-packages/nvidia/cufft/lib/libcufftw.so.11 filter=lfs diff=lfs merge=lfs -text
ckpts/universal/global_step20/zero/12.mlp.dense_h_to_4h_swiglu.weight/fp32.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c2c6372060aa5a9a5d7a3729372f220371e10204228a5324d4c856143612ec7f
3
+ size 33555533
ckpts/universal/global_step20/zero/22.mlp.dense_h_to_4h.weight/exp_avg.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6aa5aac467540abc95e56cff0883619ff97057048941daef673b28421a4a2aa0
3
+ size 33555612
ckpts/universal/global_step20/zero/22.mlp.dense_h_to_4h.weight/exp_avg_sq.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:794dab55b3801c5d099c4c17318b75f4c1fa3b2c3925b0c07f01ad345300fa26
3
+ size 33555627
ckpts/universal/global_step20/zero/22.mlp.dense_h_to_4h.weight/fp32.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5b12327ec966e04b84f9d8b439ee3db92bcc0e21332173187fa78b6fcd096375
3
+ size 33555533
lm-evaluation-harness/tests/testdata/blimp_determiner_noun_agreement_2-v0-loglikelihood ADDED
@@ -0,0 +1 @@
 
 
1
+ 123e2acd00fbba60aba1fbae607c79a062e512c9e79c7d8dfafff63e30111d76
lm-evaluation-harness/tests/testdata/blimp_distractor_agreement_relative_clause-v0-loglikelihood ADDED
@@ -0,0 +1 @@
 
 
1
+ bf78e2b53c0f3531303c668c96bd3897a0a35e960da37439e63724ecba4e371a
lm-evaluation-harness/tests/testdata/blimp_existential_there_quantifiers_1-v0-res.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"results": {"blimp_existential_there_quantifiers_1": {"acc": 0.485, "acc_stderr": 0.0158121796418149}}, "versions": {"blimp_existential_there_quantifiers_1": 0}}
lm-evaluation-harness/tests/testdata/blimp_irregular_past_participle_adjectives-v0-loglikelihood ADDED
@@ -0,0 +1 @@
 
 
1
+ 47c56f336df11924d8b97feb46339ce55bea4b216b6fd13946cc999ea36a4a95
lm-evaluation-harness/tests/testdata/blimp_irregular_past_participle_adjectives-v0-res.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"results": {"blimp_irregular_past_participle_adjectives": {"acc": 0.485, "acc_stderr": 0.0158121796418149}}, "versions": {"blimp_irregular_past_participle_adjectives": 0}}
lm-evaluation-harness/tests/testdata/blimp_tough_vs_raising_2-v0-loglikelihood ADDED
@@ -0,0 +1 @@
 
 
1
+ d255a10a34f14d77d9526604a17b0f6747d32f62fc2e3a09e9ab10054535fd45
lm-evaluation-harness/tests/testdata/blimp_wh_questions_subject_gap-v0-loglikelihood ADDED
@@ -0,0 +1 @@
 
 
1
+ d5486ffcc075cad4302e37ece9bbf5b2063c0b5a48e76c8e1dd365e22a5a48fc
lm-evaluation-harness/tests/testdata/blimp_wh_questions_subject_gap_long_distance-v0-loglikelihood ADDED
@@ -0,0 +1 @@
 
 
1
+ 37483dfda688b62ad27161c9fc1e1e7710c5a6e6a7cd3474df119bcafd30e97f
lm-evaluation-harness/tests/testdata/crows_pairs_english_age-v0-loglikelihood ADDED
@@ -0,0 +1 @@
 
 
1
+ de74d2ac7f926f2f486c045d84aae8f71711102f9d77b31f758fd148810d13d3
lm-evaluation-harness/tests/testdata/crows_pairs_english_religion-v0-loglikelihood ADDED
@@ -0,0 +1 @@
 
 
1
+ 2ed57377174adaf0fb30037eb055eafdd02cd46e57bc32066d5fecd90a14b6e1
lm-evaluation-harness/tests/testdata/crows_pairs_french_age-v0-loglikelihood ADDED
@@ -0,0 +1 @@
 
 
1
+ b14a5769f415a234abe89063a1b546aa4a990c84217e5d4a697874cd7f85af35
lm-evaluation-harness/tests/testdata/crows_pairs_french_gender-v0-loglikelihood ADDED
@@ -0,0 +1 @@
 
 
1
+ 010b8404655911c86555616da23afffce9dc3981e1acbbfdb022d9c474430209
lm-evaluation-harness/tests/testdata/crows_pairs_french_sexual_orientation-v0-res.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"results": {"crows_pairs_french_sexual_orientation": {"likelihood_difference": 0.3160680928470684, "likelihood_difference_stderr": 0.02397758321605678, "pct_stereotype": 0.43956043956043955, "pct_stereotype_stderr": 0.05231815698566189}}, "versions": {"crows_pairs_french_sexual_orientation": 0}}
lm-evaluation-harness/tests/testdata/crows_pairs_french_socioeconomic-v0-res.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"results": {"crows_pairs_french_socioeconomic": {"likelihood_difference": 0.3394681494647815, "likelihood_difference_stderr": 0.01702488895584347, "pct_stereotype": 0.4642857142857143, "pct_stereotype_stderr": 0.035714285714285705}}, "versions": {"crows_pairs_french_socioeconomic": 0}}
lm-evaluation-harness/tests/testdata/drop-v0-greedy_until ADDED
@@ -0,0 +1 @@
 
 
1
+ ca566c630d8ac853d5785d4b5c40a5137172c34b48af3350e1f79e6d548b36ba
lm-evaluation-harness/tests/testdata/ethics_justice-v0-loglikelihood ADDED
@@ -0,0 +1 @@
 
 
1
+ d7dfc44fea507b5c5c3a8218f79ed8197da8599ebb396d85feb91c25512126b6
lm-evaluation-harness/tests/testdata/hendrycksTest-high_school_macroeconomics-v0-res.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"results": {"hendrycksTest-high_school_macroeconomics": {"acc": 0.2230769230769231, "acc_norm": 0.22564102564102564, "acc_norm_stderr": 0.021193632525148522, "acc_stderr": 0.021107730127244}}, "versions": {"hendrycksTest-high_school_macroeconomics": 0}}
lm-evaluation-harness/tests/testdata/hendrycksTest-human_sexuality-v0-res.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"results": {"hendrycksTest-human_sexuality": {"acc": 0.22137404580152673, "acc_norm": 0.22900763358778625, "acc_norm_stderr": 0.036853466317118506, "acc_stderr": 0.0364129708131373}}, "versions": {"hendrycksTest-human_sexuality": 0}}
lm-evaluation-harness/tests/testdata/hendrycksTest-marketing-v0-res.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"results": {"hendrycksTest-marketing": {"acc": 0.2863247863247863, "acc_norm": 0.2905982905982906, "acc_norm_stderr": 0.029745048572674043, "acc_stderr": 0.029614323690456648}}, "versions": {"hendrycksTest-marketing": 0}}
lm-evaluation-harness/tests/testdata/hendrycksTest-miscellaneous-v0-loglikelihood ADDED
@@ -0,0 +1 @@
 
 
1
+ 972dd88dbbaf09d14766e243cfc233425e7c01a26dbc61bdb9eeefa788822331
lm-evaluation-harness/tests/testdata/hendrycksTest-nutrition-v0-loglikelihood ADDED
@@ -0,0 +1 @@
 
 
1
+ 19e49d218f55ed5ec4bd1a6cd3f3388c6f620b81484e7abe8b298e5481c3044d
lm-evaluation-harness/tests/testdata/hendrycksTest-virology-v0-loglikelihood ADDED
@@ -0,0 +1 @@
 
 
1
+ 0ffa491f7bad2abbb64ecd752a295729167599b3815238cab0ecf4cb08bba9b6
lm-evaluation-harness/tests/testdata/iwslt17-en-ar-v0-greedy_until ADDED
@@ -0,0 +1 @@
 
 
1
+ b20adbcd2c6d135e28600b427113532c5df624cb3a90e8c5e48715c09a3a38fa
lm-evaluation-harness/tests/testdata/lambada_mt_fr-v0-res.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"results": {"lambada_mt_fr": {"acc": 0.0, "acc_stderr": 0.0, "ppl": 1.6479047769869253, "ppl_stderr": 0.006497321146240192}}, "versions": {"lambada_mt_fr": 0}}
lm-evaluation-harness/tests/testdata/lambada_openai_mt_it-v0-res.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"results": {"lambada_openai_mt_it": {"acc": 0.0, "acc_stderr": 0.0, "ppl": 1.6479047769869253, "ppl_stderr": 0.006497321146240192}}, "versions": {"lambada_openai_mt_it": 0}}
lm-evaluation-harness/tests/testdata/math_num_theory-v1-res.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"results": {"math_num_theory": {"acc": 0.0, "acc_stderr": 0.0}}, "versions": {"math_num_theory": 1}}
lm-evaluation-harness/tests/testdata/pile_bookcorpus2-v1-loglikelihood_rolling ADDED
@@ -0,0 +1 @@
 
 
1
+ 5c17ddfebeab8c41dabadb6fc216ceda91e3fe5dc95aaf1b2c843d7f11828b03
lm-evaluation-harness/tests/testdata/pile_books3-v0-loglikelihood_rolling ADDED
@@ -0,0 +1 @@
 
 
1
+ 0f8f36f705b999b6d55fa72ff89a82793dd1cb568ab1f8727a6a2086a12b9410
lm-evaluation-harness/tests/testdata/pile_europarl-v1-res.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"results": {"pile_europarl": {"bits_per_byte": 1.2477664839621123e-05, "byte_perplexity": 1.000008648895605, "word_perplexity": 1.000063506523818}}, "versions": {"pile_europarl": 1}}
lm-evaluation-harness/tests/testdata/pile_openwebtext2-v0-loglikelihood_rolling ADDED
@@ -0,0 +1 @@
 
 
1
+ 5d6c19665f429ab1ccbe027da67f42bdaf219f819ab093673976eee55e015ff4
lm-evaluation-harness/tests/testdata/pile_pubmed-abstracts-v1-res.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"results": {"pile_pubmed-abstracts": {"bits_per_byte": 0.0005417858444030858, "byte_perplexity": 1.0003756078534862, "word_perplexity": 1.0025884332779}}, "versions": {"pile_pubmed-abstracts": 1}}
lm-evaluation-harness/tests/testdata/qnli-v0-res.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"results": {"qnli": {"acc": 0.5108914515833791, "acc_stderr": 0.00676380528502966}}, "versions": {"qnli": 0}}
lm-evaluation-harness/tests/testdata/qqp-v0-loglikelihood ADDED
@@ -0,0 +1 @@
 
 
1
+ 97b551b0fc3d239aad4929a2e8e79c986891aefd9fcd19441fea0382d507889e
lm-evaluation-harness/tests/testdata/triviaqa-v1-loglikelihood ADDED
@@ -0,0 +1 @@
 
 
1
+ f8ec05b306b9f6187c0f8117cae441fb85a7a2e4670f4f9a1a3b632b1978421a
lm-evaluation-harness/tests/testdata/wmt16-ro-en-v0-res.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"results": {"wmt16-ro-en": {"bleu": 0.0, "bleu_stderr": 0.0, "chrf": 0.01262029828861831, "chrf_stderr": 0.00014507496111350828, "ter": 1.0, "ter_stderr": 0.0}}, "versions": {"wmt16-ro-en": 0}}
lm-evaluation-harness/tests/testdata/wmt20-de-en-v0-res.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"results": {"wmt20-de-en": {"bleu": 0.0, "bleu_stderr": 0.0, "chrf": 0.006703243310670055, "chrf_stderr": 0.0001292711927988445, "ter": 1.0, "ter_stderr": 0.0}}, "versions": {"wmt20-de-en": 0}}
lm-evaluation-harness/tests/testdata/wsc273-v0-res.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"results": {"wsc273": {"acc": 0.5164835164835165, "acc_stderr": 0.0303004740355766}}, "versions": {"wsc273": 0}}
venv/lib/python3.10/site-packages/nvidia/cufft/lib/libcufftw.so.11 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ab06d9dfcfaf88ec2bcfb4c16b76ff0bf3b2728370d212e28607f53e1d40eff5
3
+ size 1614344
venv/lib/python3.10/site-packages/transformers/models/blenderbot/__init__.py ADDED
@@ -0,0 +1,142 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright 2020 The HuggingFace Team. All rights reserved.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ from typing import TYPE_CHECKING
16
+
17
+ from ...utils import (
18
+ OptionalDependencyNotAvailable,
19
+ _LazyModule,
20
+ is_flax_available,
21
+ is_tf_available,
22
+ is_tokenizers_available,
23
+ is_torch_available,
24
+ )
25
+
26
+
27
+ _import_structure = {
28
+ "configuration_blenderbot": [
29
+ "BLENDERBOT_PRETRAINED_CONFIG_ARCHIVE_MAP",
30
+ "BlenderbotConfig",
31
+ "BlenderbotOnnxConfig",
32
+ ],
33
+ "tokenization_blenderbot": ["BlenderbotTokenizer"],
34
+ }
35
+
36
+ try:
37
+ if not is_tokenizers_available():
38
+ raise OptionalDependencyNotAvailable()
39
+ except OptionalDependencyNotAvailable:
40
+ pass
41
+ else:
42
+ _import_structure["tokenization_blenderbot_fast"] = ["BlenderbotTokenizerFast"]
43
+
44
+ try:
45
+ if not is_torch_available():
46
+ raise OptionalDependencyNotAvailable()
47
+ except OptionalDependencyNotAvailable:
48
+ pass
49
+ else:
50
+ _import_structure["modeling_blenderbot"] = [
51
+ "BLENDERBOT_PRETRAINED_MODEL_ARCHIVE_LIST",
52
+ "BlenderbotForCausalLM",
53
+ "BlenderbotForConditionalGeneration",
54
+ "BlenderbotModel",
55
+ "BlenderbotPreTrainedModel",
56
+ ]
57
+
58
+
59
+ try:
60
+ if not is_tf_available():
61
+ raise OptionalDependencyNotAvailable()
62
+ except OptionalDependencyNotAvailable:
63
+ pass
64
+ else:
65
+ _import_structure["modeling_tf_blenderbot"] = [
66
+ "TFBlenderbotForConditionalGeneration",
67
+ "TFBlenderbotModel",
68
+ "TFBlenderbotPreTrainedModel",
69
+ ]
70
+
71
+
72
+ try:
73
+ if not is_flax_available():
74
+ raise OptionalDependencyNotAvailable()
75
+ except OptionalDependencyNotAvailable:
76
+ pass
77
+ else:
78
+ _import_structure["modeling_flax_blenderbot"] = [
79
+ "FlaxBlenderbotForConditionalGeneration",
80
+ "FlaxBlenderbotModel",
81
+ "FlaxBlenderbotPreTrainedModel",
82
+ ]
83
+
84
+
85
+ if TYPE_CHECKING:
86
+ from .configuration_blenderbot import (
87
+ BLENDERBOT_PRETRAINED_CONFIG_ARCHIVE_MAP,
88
+ BlenderbotConfig,
89
+ BlenderbotOnnxConfig,
90
+ )
91
+ from .tokenization_blenderbot import BlenderbotTokenizer
92
+
93
+ try:
94
+ if not is_tokenizers_available():
95
+ raise OptionalDependencyNotAvailable()
96
+ except OptionalDependencyNotAvailable:
97
+ pass
98
+ else:
99
+ from .tokenization_blenderbot_fast import BlenderbotTokenizerFast
100
+
101
+ try:
102
+ if not is_torch_available():
103
+ raise OptionalDependencyNotAvailable()
104
+ except OptionalDependencyNotAvailable:
105
+ pass
106
+ else:
107
+ from .modeling_blenderbot import (
108
+ BLENDERBOT_PRETRAINED_MODEL_ARCHIVE_LIST,
109
+ BlenderbotForCausalLM,
110
+ BlenderbotForConditionalGeneration,
111
+ BlenderbotModel,
112
+ BlenderbotPreTrainedModel,
113
+ )
114
+
115
+ try:
116
+ if not is_tf_available():
117
+ raise OptionalDependencyNotAvailable()
118
+ except OptionalDependencyNotAvailable:
119
+ pass
120
+ else:
121
+ from .modeling_tf_blenderbot import (
122
+ TFBlenderbotForConditionalGeneration,
123
+ TFBlenderbotModel,
124
+ TFBlenderbotPreTrainedModel,
125
+ )
126
+
127
+ try:
128
+ if not is_flax_available():
129
+ raise OptionalDependencyNotAvailable()
130
+ except OptionalDependencyNotAvailable:
131
+ pass
132
+ else:
133
+ from .modeling_flax_blenderbot import (
134
+ FlaxBlenderbotForConditionalGeneration,
135
+ FlaxBlenderbotModel,
136
+ FlaxBlenderbotPreTrainedModel,
137
+ )
138
+
139
+ else:
140
+ import sys
141
+
142
+ sys.modules[__name__] = _LazyModule(__name__, globals()["__file__"], _import_structure, module_spec=__spec__)
venv/lib/python3.10/site-packages/transformers/models/blenderbot/__pycache__/__init__.cpython-310.pyc ADDED
Binary file (1.93 kB). View file
 
venv/lib/python3.10/site-packages/transformers/models/blenderbot/__pycache__/configuration_blenderbot.cpython-310.pyc ADDED
Binary file (12.8 kB). View file
 
venv/lib/python3.10/site-packages/transformers/models/blenderbot/__pycache__/convert_blenderbot_original_pytorch_checkpoint_to_pytorch.cpython-310.pyc ADDED
Binary file (2.93 kB). View file
 
venv/lib/python3.10/site-packages/transformers/models/blenderbot/__pycache__/modeling_blenderbot.cpython-310.pyc ADDED
Binary file (53.4 kB). View file
 
venv/lib/python3.10/site-packages/transformers/models/blenderbot/__pycache__/modeling_flax_blenderbot.cpython-310.pyc ADDED
Binary file (41.9 kB). View file
 
venv/lib/python3.10/site-packages/transformers/models/blenderbot/__pycache__/modeling_tf_blenderbot.cpython-310.pyc ADDED
Binary file (49.3 kB). View file