repo
stringlengths
7
90
file_url
stringlengths
81
315
file_path
stringlengths
4
228
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 14:38:15
2026-01-05 02:33:18
truncated
bool
2 classes
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/flax/question-answering/run_qa.py
hf-dev-train/transformers-main/examples/flax/question-answering/run_qa.py
#!/usr/bin/env python # coding=utf-8 # Copyright 2021 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-...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
true
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/flax/question-answering/utils_qa.py
hf-dev-train/transformers-main/examples/flax/question-answering/utils_qa.py
# coding=utf-8 # Copyright 2020 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 require...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/flax/language-modeling/run_t5_mlm_flax.py
hf-dev-train/transformers-main/examples/flax/language-modeling/run_t5_mlm_flax.py
#!/usr/bin/env python # coding=utf-8 # Copyright 2021 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-...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
true
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/flax/language-modeling/run_bart_dlm_flax.py
hf-dev-train/transformers-main/examples/flax/language-modeling/run_bart_dlm_flax.py
#!/usr/bin/env python # coding=utf-8 # Copyright 2021 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-...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
true
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/flax/language-modeling/run_clm_flax.py
hf-dev-train/transformers-main/examples/flax/language-modeling/run_clm_flax.py
#!/usr/bin/env python # coding=utf-8 # Copyright 2021 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-...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
true
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/flax/language-modeling/t5_tokenizer_model.py
hf-dev-train/transformers-main/examples/flax/language-modeling/t5_tokenizer_model.py
#!/usr/bin/env python3 import json from typing import Iterator, List, Union from tokenizers import AddedToken, Regex, Tokenizer, decoders, normalizers, pre_tokenizers, trainers from tokenizers.implementations.base_tokenizer import BaseTokenizer from tokenizers.models import Unigram from tokenizers.processors import Te...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/flax/language-modeling/run_mlm_flax.py
hf-dev-train/transformers-main/examples/flax/language-modeling/run_mlm_flax.py
#!/usr/bin/env python # coding=utf-8 # Copyright 2021 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-...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
true
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/tensorflow/test_tensorflow_examples.py
hf-dev-train/transformers-main/examples/tensorflow/test_tensorflow_examples.py
# coding=utf-8 # Copyright 2022 HuggingFace Inc. # # 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 ag...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/tensorflow/benchmarking/plot_csv_file.py
hf-dev-train/transformers-main/examples/tensorflow/benchmarking/plot_csv_file.py
# Copyright 2020 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 applicabl...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/tensorflow/benchmarking/run_benchmark_tf.py
hf-dev-train/transformers-main/examples/tensorflow/benchmarking/run_benchmark_tf.py
#!/usr/bin/env python # coding=utf-8 # Copyright 2018 The HuggingFace Inc. team. # Copyright (c) 2020, NVIDIA CORPORATION. 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 a...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/tensorflow/contrastive-image-text/run_clip.py
hf-dev-train/transformers-main/examples/tensorflow/contrastive-image-text/run_clip.py
#!/usr/bin/env python # coding=utf-8 # Copyright 2023 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-...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/tensorflow/image-classification/run_image_classification.py
hf-dev-train/transformers-main/examples/tensorflow/image-classification/run_image_classification.py
#!/usr/bin/env python # coding=utf-8 # Copyright 2022 The HuggingFace Inc. 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/LI...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/tensorflow/translation/run_translation.py
hf-dev-train/transformers-main/examples/tensorflow/translation/run_translation.py
#!/usr/bin/env python # coding=utf-8 # Copyright 2021 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...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/tensorflow/summarization/run_summarization.py
hf-dev-train/transformers-main/examples/tensorflow/summarization/run_summarization.py
#!/usr/bin/env python # coding=utf-8 # Copyright 2021 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...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/tensorflow/text-classification/run_text_classification.py
hf-dev-train/transformers-main/examples/tensorflow/text-classification/run_text_classification.py
#!/usr/bin/env python # coding=utf-8 # Copyright 2021 The HuggingFace Inc. 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/LI...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/tensorflow/text-classification/run_glue.py
hf-dev-train/transformers-main/examples/tensorflow/text-classification/run_glue.py
#!/usr/bin/env python # coding=utf-8 # Copyright 2020 The HuggingFace Inc. 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/LI...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/tensorflow/token-classification/run_ner.py
hf-dev-train/transformers-main/examples/tensorflow/token-classification/run_ner.py
#!/usr/bin/env python # coding=utf-8 # Copyright 2021 The HuggingFace Inc. 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/LI...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/tensorflow/multiple-choice/run_swag.py
hf-dev-train/transformers-main/examples/tensorflow/multiple-choice/run_swag.py
#!/usr/bin/env python # coding=utf-8 # Copyright The HuggingFace Team and The HuggingFace Inc. 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.ap...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/tensorflow/question-answering/run_qa.py
hf-dev-train/transformers-main/examples/tensorflow/question-answering/run_qa.py
#!/usr/bin/env python # coding=utf-8 # Copyright 2020 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-...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
true
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/tensorflow/question-answering/utils_qa.py
hf-dev-train/transformers-main/examples/tensorflow/question-answering/utils_qa.py
# coding=utf-8 # Copyright 2020 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 require...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/tensorflow/language-modeling/run_mlm.py
hf-dev-train/transformers-main/examples/tensorflow/language-modeling/run_mlm.py
#!/usr/bin/env python # coding=utf-8 # Copyright 2021 The HuggingFace Inc. 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/LI...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/tensorflow/language-modeling/run_clm.py
hf-dev-train/transformers-main/examples/tensorflow/language-modeling/run_clm.py
#!/usr/bin/env python # coding=utf-8 # Copyright 2021 The HuggingFace Inc. 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/LI...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/legacy/run_openai_gpt.py
hf-dev-train/transformers-main/examples/legacy/run_openai_gpt.py
#!/usr/bin/env python # coding=utf-8 # Copyright 2018 Google AI, Google Brain and Carnegie Mellon University Authors and the HuggingFace Inc. team. # Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in co...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/legacy/run_language_modeling.py
hf-dev-train/transformers-main/examples/legacy/run_language_modeling.py
#!/usr/bin/env python # coding=utf-8 # Copyright 2018 The Google AI Language Team Authors and The HuggingFace Inc. team. # Copyright (c) 2018, NVIDIA CORPORATION. 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. ...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/legacy/run_chinese_ref.py
hf-dev-train/transformers-main/examples/legacy/run_chinese_ref.py
#!/usr/bin/env python import argparse import json from typing import List from ltp import LTP from transformers import BertTokenizer def _is_chinese_char(cp): """Checks whether CP is the codepoint of a CJK character.""" # This defines a "chinese character" as anything in the CJK Unicode block: # https...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/legacy/run_swag.py
hf-dev-train/transformers-main/examples/legacy/run_swag.py
#!/usr/bin/env python # coding=utf-8 # Copyright 2018 The Google AI Language Team Authors and The HuggingFace Inc. team. # Copyright (c) 2018, NVIDIA CORPORATION. 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. ...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/legacy/run_camembert.py
hf-dev-train/transformers-main/examples/legacy/run_camembert.py
#!/usr/bin/env python import torch from transformers import CamembertForMaskedLM, CamembertTokenizer def fill_mask(masked_input, model, tokenizer, topk=5): # Adapted from https://github.com/pytorch/fairseq/blob/master/fairseq/models/roberta/hub_interface.py assert masked_input.count("<mask>") == 1 input_...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/legacy/run_transfo_xl.py
hf-dev-train/transformers-main/examples/legacy/run_transfo_xl.py
#!/usr/bin/env python # coding=utf-8 # Copyright 2018 Google AI, Google Brain and Carnegie Mellon University Authors and the HuggingFace Inc. team. # Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in co...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/legacy/pytorch-lightning/run_ner.py
hf-dev-train/transformers-main/examples/legacy/pytorch-lightning/run_ner.py
import argparse import glob import logging import os from argparse import Namespace from importlib import import_module import numpy as np import torch from lightning_base import BaseTransformer, add_generic_args, generic_train from seqeval.metrics import accuracy_score, f1_score, precision_score, recall_score from to...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/legacy/pytorch-lightning/run_glue.py
hf-dev-train/transformers-main/examples/legacy/pytorch-lightning/run_glue.py
import argparse import glob import logging import os import time from argparse import Namespace import numpy as np import torch from lightning_base import BaseTransformer, add_generic_args, generic_train from torch.utils.data import DataLoader, TensorDataset from transformers import glue_compute_metrics as compute_me...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/legacy/pytorch-lightning/lightning_base.py
hf-dev-train/transformers-main/examples/legacy/pytorch-lightning/lightning_base.py
import argparse import logging import os from pathlib import Path from typing import Any, Dict import pytorch_lightning as pl from pytorch_lightning.utilities import rank_zero_info from transformers import ( AdamW, AutoConfig, AutoModel, AutoModelForPreTraining, AutoModelForQuestionAnswering, ...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/legacy/multiple_choice/utils_multiple_choice.py
hf-dev-train/transformers-main/examples/legacy/multiple_choice/utils_multiple_choice.py
# coding=utf-8 # Copyright 2018 The Google AI Language Team Authors and The HuggingFace Inc. team. # Copyright (c) 2018, NVIDIA CORPORATION. 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 cop...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/legacy/multiple_choice/run_multiple_choice.py
hf-dev-train/transformers-main/examples/legacy/multiple_choice/run_multiple_choice.py
# coding=utf-8 # Copyright 2018 The Google AI Language Team Authors and The HuggingFace Inc. team. # Copyright (c) 2018, NVIDIA CORPORATION. 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 cop...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/legacy/text-classification/run_tf_text_classification.py
hf-dev-train/transformers-main/examples/legacy/text-classification/run_tf_text_classification.py
#!/usr/bin/env python # coding=utf-8 # Copyright 2020 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...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/legacy/token-classification/utils_ner.py
hf-dev-train/transformers-main/examples/legacy/token-classification/utils_ner.py
# coding=utf-8 # Copyright 2018 The Google AI Language Team Authors and The HuggingFace Inc. team. # Copyright (c) 2018, NVIDIA CORPORATION. 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 cop...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/legacy/token-classification/tasks.py
hf-dev-train/transformers-main/examples/legacy/token-classification/tasks.py
import logging import os from typing import List, TextIO, Union from conllu import parse_incr from utils_ner import InputExample, Split, TokenClassificationTask logger = logging.getLogger(__name__) class NER(TokenClassificationTask): def __init__(self, label_idx=-1): # in NER datasets, the last column ...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/legacy/token-classification/run_ner.py
hf-dev-train/transformers-main/examples/legacy/token-classification/run_ner.py
# coding=utf-8 # Copyright 2018 The Google AI Language Team Authors and The HuggingFace Inc. team. # Copyright (c) 2018, NVIDIA CORPORATION. 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 cop...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/legacy/token-classification/run_tf_ner.py
hf-dev-train/transformers-main/examples/legacy/token-classification/run_tf_ner.py
#!/usr/bin/env python # coding=utf-8 # Copyright 2018 The HuggingFace Inc. team. # # 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 ...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/legacy/token-classification/scripts/preprocess.py
hf-dev-train/transformers-main/examples/legacy/token-classification/scripts/preprocess.py
import sys from transformers import AutoTokenizer dataset = sys.argv[1] model_name_or_path = sys.argv[2] max_len = int(sys.argv[3]) subword_len_counter = 0 tokenizer = AutoTokenizer.from_pretrained(model_name_or_path) max_len -= tokenizer.num_special_tokens_to_add() with open(dataset, "rt") as f_p: for line i...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/legacy/seq2seq/download_wmt.py
hf-dev-train/transformers-main/examples/legacy/seq2seq/download_wmt.py
#!/usr/bin/env python # Copyright 2020 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...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/legacy/seq2seq/save_len_file.py
hf-dev-train/transformers-main/examples/legacy/seq2seq/save_len_file.py
#!/usr/bin/env python # Copyright 2020 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...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/legacy/seq2seq/convert_model_to_fp16.py
hf-dev-train/transformers-main/examples/legacy/seq2seq/convert_model_to_fp16.py
#!/usr/bin/env python # Copyright 2020 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...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/legacy/seq2seq/run_eval.py
hf-dev-train/transformers-main/examples/legacy/seq2seq/run_eval.py
#!/usr/bin/env python # Copyright 2020 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...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/legacy/seq2seq/seq2seq_trainer.py
hf-dev-train/transformers-main/examples/legacy/seq2seq/seq2seq_trainer.py
# Copyright 2020 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 applicabl...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/legacy/seq2seq/minify_dataset.py
hf-dev-train/transformers-main/examples/legacy/seq2seq/minify_dataset.py
#!/usr/bin/env python # Copyright 2020 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...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/legacy/seq2seq/old_test_datasets.py
hf-dev-train/transformers-main/examples/legacy/seq2seq/old_test_datasets.py
# Copyright 2020 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 applicabl...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/legacy/seq2seq/finetune_trainer.py
hf-dev-train/transformers-main/examples/legacy/seq2seq/finetune_trainer.py
#!/usr/bin/env python # Copyright 2020 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...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/legacy/seq2seq/old_test_fsmt_bleu_score.py
hf-dev-train/transformers-main/examples/legacy/seq2seq/old_test_fsmt_bleu_score.py
# coding=utf-8 # Copyright 2020 Huggingface # # 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 ...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/legacy/seq2seq/sentence_splitter.py
hf-dev-train/transformers-main/examples/legacy/seq2seq/sentence_splitter.py
# Copyright 2020 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 applicabl...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/legacy/seq2seq/seq2seq_training_args.py
hf-dev-train/transformers-main/examples/legacy/seq2seq/seq2seq_training_args.py
# Copyright 2020 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 applicabl...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/legacy/seq2seq/old_test_seq2seq_examples_multi_gpu.py
hf-dev-train/transformers-main/examples/legacy/seq2seq/old_test_seq2seq_examples_multi_gpu.py
# Copyright 2020 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 applicabl...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/legacy/seq2seq/xla_spawn.py
hf-dev-train/transformers-main/examples/legacy/seq2seq/xla_spawn.py
# Copyright 2020 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 applicabl...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/legacy/seq2seq/rouge_cli.py
hf-dev-train/transformers-main/examples/legacy/seq2seq/rouge_cli.py
# Copyright 2020 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 applicabl...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/legacy/seq2seq/old_test_tatoeba_conversion.py
hf-dev-train/transformers-main/examples/legacy/seq2seq/old_test_tatoeba_conversion.py
# Copyright 2020 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 applicabl...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/legacy/seq2seq/utils.py
hf-dev-train/transformers-main/examples/legacy/seq2seq/utils.py
# Copyright 2020 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 applicabl...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/legacy/seq2seq/run_eval_search.py
hf-dev-train/transformers-main/examples/legacy/seq2seq/run_eval_search.py
#!/usr/bin/env python # Copyright 2020 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...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/legacy/seq2seq/old_test_seq2seq_examples.py
hf-dev-train/transformers-main/examples/legacy/seq2seq/old_test_seq2seq_examples.py
# Copyright 2020 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 applicabl...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/legacy/seq2seq/save_randomly_initialized_model.py
hf-dev-train/transformers-main/examples/legacy/seq2seq/save_randomly_initialized_model.py
#!/usr/bin/env python # Copyright 2020 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...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/legacy/seq2seq/__init__.py
hf-dev-train/transformers-main/examples/legacy/seq2seq/__init__.py
import os import sys sys.path.insert(1, os.path.dirname(os.path.realpath(__file__)))
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/legacy/seq2seq/pack_dataset.py
hf-dev-train/transformers-main/examples/legacy/seq2seq/pack_dataset.py
#!/usr/bin/env python # Copyright 2020 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...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/legacy/seq2seq/old_test_calculate_rouge.py
hf-dev-train/transformers-main/examples/legacy/seq2seq/old_test_calculate_rouge.py
# Copyright 2020 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 applicabl...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/legacy/seq2seq/run_distributed_eval.py
hf-dev-train/transformers-main/examples/legacy/seq2seq/run_distributed_eval.py
#!/usr/bin/env python # Copyright 2020 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...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/legacy/seq2seq/test_data/fsmt/build-eval-data.py
hf-dev-train/transformers-main/examples/legacy/seq2seq/test_data/fsmt/build-eval-data.py
#!/usr/bin/env python import io import json import subprocess pairs = [ ["en", "ru"], ["ru", "en"], ["en", "de"], ["de", "en"], ] n_objs = 8 def get_all_data(pairs, n_objs): text = {} for src, tgt in pairs: pair = f"{src}-{tgt}" cmd = f"sacrebleu -t wmt19 -l {pair} --echo s...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/legacy/question-answering/run_squad.py
hf-dev-train/transformers-main/examples/legacy/question-answering/run_squad.py
# coding=utf-8 # Copyright 2018 The Google AI Language Team Authors and The HuggingFace Inc. team. # Copyright (c) 2018, NVIDIA CORPORATION. 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 cop...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
true
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/legacy/question-answering/run_squad_trainer.py
hf-dev-train/transformers-main/examples/legacy/question-answering/run_squad_trainer.py
# coding=utf-8 # Copyright 2018 The Google AI Language Team Authors and The HuggingFace Inc. team. # Copyright (c) 2018, NVIDIA CORPORATION. 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 cop...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/pytorch/test_xla_examples.py
hf-dev-train/transformers-main/examples/pytorch/test_xla_examples.py
# coding=utf-8 # Copyright 2018 HuggingFace Inc.. # # 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 a...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/pytorch/test_pytorch_examples.py
hf-dev-train/transformers-main/examples/pytorch/test_pytorch_examples.py
# coding=utf-8 # Copyright 2018 HuggingFace Inc.. # # 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 a...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/pytorch/xla_spawn.py
hf-dev-train/transformers-main/examples/pytorch/xla_spawn.py
# Copyright 2020 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 applicabl...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/pytorch/conftest.py
hf-dev-train/transformers-main/examples/pytorch/conftest.py
# Copyright 2020 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 applicabl...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/pytorch/test_accelerate_examples.py
hf-dev-train/transformers-main/examples/pytorch/test_accelerate_examples.py
# coding=utf-8 # Copyright 2018 HuggingFace Inc.. # # 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 a...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/pytorch/text-generation/run_generation_contrastive_search.py
hf-dev-train/transformers-main/examples/pytorch/text-generation/run_generation_contrastive_search.py
#!/usr/bin/env python # coding=utf-8 # Copyright 2022 University of Cambridge, Tencent AI Lab, DeepMind and The University of Hong Kong Authors and The HuggingFace Inc. team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with th...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/pytorch/text-generation/run_generation.py
hf-dev-train/transformers-main/examples/pytorch/text-generation/run_generation.py
#!/usr/bin/env python # coding=utf-8 # Copyright 2018 Google AI, Google Brain and Carnegie Mellon University Authors and the HuggingFace Inc. team. # Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in co...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/pytorch/speech-recognition/run_speech_recognition_ctc.py
hf-dev-train/transformers-main/examples/pytorch/speech-recognition/run_speech_recognition_ctc.py
#!/usr/bin/env python # coding=utf-8 # Copyright 2021 The HuggingFace Inc. 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/LI...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/pytorch/speech-recognition/run_speech_recognition_seq2seq.py
hf-dev-train/transformers-main/examples/pytorch/speech-recognition/run_speech_recognition_seq2seq.py
#!/usr/bin/env python # coding=utf-8 # Copyright 2021 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...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/pytorch/benchmarking/plot_csv_file.py
hf-dev-train/transformers-main/examples/pytorch/benchmarking/plot_csv_file.py
# Copyright 2020 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 applicabl...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/pytorch/benchmarking/run_benchmark.py
hf-dev-train/transformers-main/examples/pytorch/benchmarking/run_benchmark.py
#!/usr/bin/env python # coding=utf-8 # Copyright 2020 The HuggingFace Inc. team. # Copyright (c) 2018, NVIDIA CORPORATION. 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 a...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/pytorch/contrastive-image-text/run_clip.py
hf-dev-train/transformers-main/examples/pytorch/contrastive-image-text/run_clip.py
#!/usr/bin/env python # coding=utf-8 # Copyright 2022 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-...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/pytorch/image-classification/run_image_classification_no_trainer.py
hf-dev-train/transformers-main/examples/pytorch/image-classification/run_image_classification_no_trainer.py
# coding=utf-8 # Copyright 2022 The HuggingFace Inc. 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 r...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/pytorch/image-classification/run_image_classification.py
hf-dev-train/transformers-main/examples/pytorch/image-classification/run_image_classification.py
#!/usr/bin/env python # coding=utf-8 # Copyright 2021 The HuggingFace Inc. 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/LI...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/pytorch/speech-pretraining/run_wav2vec2_pretraining_no_trainer.py
hf-dev-train/transformers-main/examples/pytorch/speech-pretraining/run_wav2vec2_pretraining_no_trainer.py
#!/usr/bin/env python # coding=utf-8 # Copyright 2021 The HuggingFace Inc. 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/LI...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/pytorch/semantic-segmentation/run_semantic_segmentation_no_trainer.py
hf-dev-train/transformers-main/examples/pytorch/semantic-segmentation/run_semantic_segmentation_no_trainer.py
# coding=utf-8 # Copyright 2022 The HuggingFace Inc. 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 r...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/pytorch/semantic-segmentation/run_semantic_segmentation.py
hf-dev-train/transformers-main/examples/pytorch/semantic-segmentation/run_semantic_segmentation.py
#!/usr/bin/env python # coding=utf-8 # Copyright 2022 The HuggingFace Inc. 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/LI...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/pytorch/image-pretraining/run_mim.py
hf-dev-train/transformers-main/examples/pytorch/image-pretraining/run_mim.py
#!/usr/bin/env python # coding=utf-8 # Copyright 2022 The HuggingFace Inc. 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/LI...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/pytorch/image-pretraining/run_mae.py
hf-dev-train/transformers-main/examples/pytorch/image-pretraining/run_mae.py
#!/usr/bin/env python # coding=utf-8 # Copyright 2022 The HuggingFace Inc. 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/LI...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/pytorch/translation/run_translation_no_trainer.py
hf-dev-train/transformers-main/examples/pytorch/translation/run_translation_no_trainer.py
#!/usr/bin/env python # coding=utf-8 # Copyright The HuggingFace Team and The HuggingFace Inc. 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.ap...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/pytorch/translation/run_translation.py
hf-dev-train/transformers-main/examples/pytorch/translation/run_translation.py
#!/usr/bin/env python # coding=utf-8 # Copyright The HuggingFace Team and The HuggingFace Inc. 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.ap...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/pytorch/summarization/run_summarization_no_trainer.py
hf-dev-train/transformers-main/examples/pytorch/summarization/run_summarization_no_trainer.py
#!/usr/bin/env python # coding=utf-8 # Copyright The HuggingFace Team and The HuggingFace Inc. 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.ap...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/pytorch/summarization/run_summarization.py
hf-dev-train/transformers-main/examples/pytorch/summarization/run_summarization.py
#!/usr/bin/env python # coding=utf-8 # Copyright 2021 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...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/pytorch/text-classification/run_glue.py
hf-dev-train/transformers-main/examples/pytorch/text-classification/run_glue.py
#!/usr/bin/env python # coding=utf-8 # Copyright 2020 The HuggingFace Inc. 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/LI...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/pytorch/text-classification/run_xnli.py
hf-dev-train/transformers-main/examples/pytorch/text-classification/run_xnli.py
#!/usr/bin/env python # coding=utf-8 # Copyright 2018 The Google AI Language Team Authors and The HuggingFace Inc. team. # Copyright (c) 2018, NVIDIA CORPORATION. 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. ...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/pytorch/text-classification/run_glue_no_trainer.py
hf-dev-train/transformers-main/examples/pytorch/text-classification/run_glue_no_trainer.py
# coding=utf-8 # Copyright 2021 The HuggingFace Inc. 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 r...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/pytorch/token-classification/run_ner_no_trainer.py
hf-dev-train/transformers-main/examples/pytorch/token-classification/run_ner_no_trainer.py
#!/usr/bin/env python # coding=utf-8 # Copyright 2021 The HuggingFace Inc. 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/LI...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
true
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/pytorch/token-classification/run_ner.py
hf-dev-train/transformers-main/examples/pytorch/token-classification/run_ner.py
#!/usr/bin/env python # coding=utf-8 # Copyright 2020 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-...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/pytorch/multiple-choice/run_swag.py
hf-dev-train/transformers-main/examples/pytorch/multiple-choice/run_swag.py
#!/usr/bin/env python # coding=utf-8 # Copyright The HuggingFace Team and The HuggingFace Inc. 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.ap...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/pytorch/multiple-choice/run_swag_no_trainer.py
hf-dev-train/transformers-main/examples/pytorch/multiple-choice/run_swag_no_trainer.py
#!/usr/bin/env python # coding=utf-8 # Copyright The HuggingFace Team and The HuggingFace Inc. 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.ap...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/pytorch/question-answering/trainer_seq2seq_qa.py
hf-dev-train/transformers-main/examples/pytorch/question-answering/trainer_seq2seq_qa.py
# coding=utf-8 # Copyright 2021 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 require...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/pytorch/question-answering/run_seq2seq_qa.py
hf-dev-train/transformers-main/examples/pytorch/question-answering/run_seq2seq_qa.py
#!/usr/bin/env python # coding=utf-8 # Copyright 2021 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-...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/pytorch/question-answering/trainer_qa.py
hf-dev-train/transformers-main/examples/pytorch/question-answering/trainer_qa.py
# coding=utf-8 # Copyright 2020 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 require...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
false
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/pytorch/question-answering/run_qa_beam_search_no_trainer.py
hf-dev-train/transformers-main/examples/pytorch/question-answering/run_qa_beam_search_no_trainer.py
#!/usr/bin/env python # coding=utf-8 # Copyright 2021 The HuggingFace Inc. 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/LI...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
true
Sreyan88/GAMA
https://github.com/Sreyan88/GAMA/blob/041c3a623c6c635e65463cef16ce0cfde72e5c57/hf-dev-train/transformers-main/examples/pytorch/question-answering/run_qa_no_trainer.py
hf-dev-train/transformers-main/examples/pytorch/question-answering/run_qa_no_trainer.py
#!/usr/bin/env python # coding=utf-8 # Copyright 2021 The HuggingFace Inc. 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/LI...
python
Apache-2.0
041c3a623c6c635e65463cef16ce0cfde72e5c57
2026-01-05T07:09:59.331526Z
true