transformers/src/transformers
Aymeric Roucher 9837a25481
Add streaming, various fixes (#30838)
* Implement streaming run in ReAct agents
* Allow additional imports in code agents
* Python interpreter: support classes and exceptions, fixes
2024-05-31 14:16:23 +02:00
..
agents Add streaming, various fixes (#30838) 2024-05-31 14:16:23 +02:00
benchmark update ruff version (#30932) 2024-05-22 06:40:15 +02:00
commands Fix env.py in cases where torch is not present (#31113) 2024-05-29 13:20:36 +01:00
data update ruff version (#30932) 2024-05-22 06:40:15 +02:00
generation Quantized KV Cache (#30483) 2024-05-23 17:25:20 +05:00
integrations Bugfix: WandbCallback uploads initial model checkpoint (#30897) 2024-05-23 20:29:00 +01:00
kernels
models FEAT: Add mistral v3 conversion script (#30981) 2024-05-29 11:43:54 +02:00
onnx
pipelines Using assistant in AutomaticSpeechRecognitionPipeline with different encoder size (#30637) 2024-05-23 09:59:38 +01:00
quantizers Quantization: Enhance bnb error message (#31160) 2024-05-31 12:36:46 +02:00
sagemaker
utils FIX / Quantization: Add extra validation for bnb config (#31135) 2024-05-30 11:45:03 +02:00
__init__.py Deprecate low use models (#30781) 2024-05-28 18:07:07 +01:00
activations_tf.py
activations.py
audio_utils.py update ruff version (#30932) 2024-05-22 06:40:15 +02:00
cache_utils.py Quantized KV cache: update quanto (#31052) 2024-05-29 14:25:44 +05:00
configuration_utils.py Fix PretrainedConfig docstring with deprecated resume_download (#31014) 2024-05-28 17:47:35 +02:00
convert_graph_to_onnx.py update ruff version (#30932) 2024-05-22 06:40:15 +02:00
convert_pytorch_checkpoint_to_tf2.py update ruff version (#30932) 2024-05-22 06:40:15 +02:00
convert_slow_tokenizer.py [fix codellama conversion] (#30472) 2024-04-25 10:56:48 +02:00
convert_slow_tokenizers_checkpoints_to_fast.py update ruff version (#30932) 2024-05-22 06:40:15 +02:00
convert_tf_hub_seq_to_seq_bert_to_pytorch.py update ruff version (#30932) 2024-05-22 06:40:15 +02:00
debug_utils.py
deepspeed.py update ruff version (#30932) 2024-05-22 06:40:15 +02:00
dependency_versions_check.py
dependency_versions_table.py Update build ci image [push-ci-image] (#30933) 2024-05-22 10:52:59 +02:00
dynamic_module_utils.py Fix faulty rstrip in module loading (#31108) 2024-05-29 13:33:26 +01:00
feature_extraction_sequence_utils.py update ruff version (#30932) 2024-05-22 06:40:15 +02:00
feature_extraction_utils.py update ruff version (#30932) 2024-05-22 06:40:15 +02:00
file_utils.py
hf_argparser.py Add test for parse_json_file and change typing to os.PathLike (#30183) 2024-04-15 09:34:36 +01:00
hyperparameter_search.py
image_processing_utils.py fix for custom pipeline configuration (#29004) 2024-05-20 11:38:32 +02:00
image_transforms.py fix: center_crop occasionally outputs off-by-one dimension matrix (#30934) 2024-05-21 13:56:52 +01:00
image_utils.py Remove deprecated logic and warnings (#30743) 2024-05-17 12:15:59 +01:00
keras_callbacks.py
modelcard.py update ruff version (#30932) 2024-05-22 06:40:15 +02:00
modeling_attn_mask_utils.py Llama: fix custom 4D masks, v2 (#30348) 2024-05-13 13:46:06 +02:00
modeling_flax_outputs.py
modeling_flax_pytorch_utils.py update ruff version (#30932) 2024-05-22 06:40:15 +02:00
modeling_flax_utils.py Use HF_HUB_OFFLINE + fix has_file in offline mode (#31016) 2024-05-29 11:55:43 +01:00
modeling_gguf_pytorch_utils.py Loading GGUF files support (#30391) 2024-05-15 14:28:20 +02:00
modeling_outputs.py
modeling_tf_outputs.py
modeling_tf_pytorch_utils.py update ruff version (#30932) 2024-05-22 06:40:15 +02:00
modeling_tf_utils.py Use HF_HUB_OFFLINE + fix has_file in offline mode (#31016) 2024-05-29 11:55:43 +01:00
modeling_utils.py Use HF_HUB_OFFLINE + fix has_file in offline mode (#31016) 2024-05-29 11:55:43 +01:00
optimization_tf.py update ruff version (#30932) 2024-05-22 06:40:15 +02:00
optimization.py fix get_scheduler when name is warmup_stable_decay (#31128) 2024-05-30 15:25:43 +01:00
processing_utils.py update ruff version (#30932) 2024-05-22 06:40:15 +02:00
pytorch_utils.py Enable fp16 on CPU (#30459) 2024-04-24 15:38:52 -04:00
safetensors_conversion.py Send headers when converting safetensors (#30144) 2024-04-09 17:03:36 +02:00
testing_utils.py [tests] add torch.use_deterministic_algorithms for XPU (#30774) 2024-05-23 16:53:07 +01:00
tf_utils.py Port IDEFICS to tensorflow (#26870) 2024-05-13 15:59:46 +01:00
time_series_utils.py update ruff version (#30932) 2024-05-22 06:40:15 +02:00
tokenization_utils_base.py Render chat template tojson filter as unicode (#31041) 2024-05-28 15:02:51 +01:00
tokenization_utils_fast.py Add split special tokens (#30772) 2024-05-24 08:38:58 -07:00
tokenization_utils.py Add split special tokens (#30772) 2024-05-24 08:38:58 -07:00
trainer_callback.py Add on_optimizer_step to callback options (#31095) 2024-05-29 16:20:59 +02:00
trainer_pt_utils.py Introduce configured_state arg for accelerator_config (#29781) 2024-05-20 09:21:40 -04:00
trainer_seq2seq.py Trainer: fail early in the presence of an unsavable generation_config (#29675) 2024-03-15 12:59:10 +00:00
trainer_utils.py Add WSD scheduler (#30231) 2024-04-25 12:07:21 +01:00
trainer.py [trainer] add sanity evaluation option (#31146) 2024-05-31 12:44:20 +02:00
training_args_seq2seq.py
training_args_tf.py 🚨🚨🚨Deprecate evaluation_strategy to eval_strategy🚨🚨🚨 (#30190) 2024-04-18 12:49:43 -04:00
training_args.py [trainer] add sanity evaluation option (#31146) 2024-05-31 12:44:20 +02:00