text
stringlengths
5
631k
id
stringlengths
14
178
metadata
dict
__index_level_0__
int64
0
647
import gc import unittest import torch from diffusers import ( StableDiffusionImg2ImgPipeline, ) from diffusers.utils import load_image from diffusers.utils.testing_utils import ( backend_empty_cache, enable_full_determinism, require_torch_accelerator, slow, torch_device, ) from .single_file_...
diffusers/tests/single_file/test_stable_diffusion_img2img_single_file.py/0
{ "file_path": "diffusers/tests/single_file/test_stable_diffusion_img2img_single_file.py", "repo_id": "diffusers", "token_count": 1604 }
203
# coding=utf-8 # Copyright 2025 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 required by applicable...
diffusers/utils/check_table.py/0
{ "file_path": "diffusers/utils/check_table.py", "repo_id": "diffusers", "token_count": 3011 }
204
# coding=utf-8 # Copyright 2025 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 required by applicable...
diffusers/utils/update_metadata.py/0
{ "file_path": "diffusers/utils/update_metadata.py", "repo_id": "diffusers", "token_count": 1690 }
205
#!/usr/bin/env python # Copyright 2024 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 # # ...
lerobot/benchmarks/video/capture_camera_feed.py/0
{ "file_path": "lerobot/benchmarks/video/capture_camera_feed.py", "repo_id": "lerobot", "token_count": 1246 }
206
<div class="flex justify-center"> <a target="_blank" href="https://huggingface.co/lerobot"> <img alt="HuggingFace Expert Acceleration Program" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/lerobot/lerobot-logo-thumbnail.png" style="width: 100%" ></img> ...
lerobot/docs/source/index.mdx/0
{ "file_path": "lerobot/docs/source/index.mdx", "repo_id": "lerobot", "token_count": 337 }
207
# Copyright 2024 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 required by appl...
lerobot/examples/3_train_policy.py/0
{ "file_path": "lerobot/examples/3_train_policy.py", "repo_id": "lerobot", "token_count": 1810 }
208
# Copyright 2024 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 required by appl...
lerobot/src/lerobot/cameras/realsense/camera_realsense.py/0
{ "file_path": "lerobot/src/lerobot/cameras/realsense/camera_realsense.py", "repo_id": "lerobot", "token_count": 9038 }
209
#!/usr/bin/env python # Copyright 2024 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 # # ...
lerobot/src/lerobot/datasets/online_buffer.py/0
{ "file_path": "lerobot/src/lerobot/datasets/online_buffer.py", "repo_id": "lerobot", "token_count": 7375 }
210
# Copyright 2024 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 required by appl...
lerobot/src/lerobot/errors.py/0
{ "file_path": "lerobot/src/lerobot/errors.py", "repo_id": "lerobot", "token_count": 459 }
211
#!/usr/bin/env python # Copyright 2024 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 # # ...
lerobot/src/lerobot/optim/schedulers.py/0
{ "file_path": "lerobot/src/lerobot/optim/schedulers.py", "repo_id": "lerobot", "token_count": 1831 }
212
#!/usr/bin/env python # Copyright 2025 Physical Intelligence 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.apache.org...
lerobot/src/lerobot/policies/pi0/modeling_pi0.py/0
{ "file_path": "lerobot/src/lerobot/policies/pi0/modeling_pi0.py", "repo_id": "lerobot", "token_count": 14362 }
213
#!/usr/bin/env python # Copyright 2024 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 # # ...
lerobot/src/lerobot/policies/utils.py/0
{ "file_path": "lerobot/src/lerobot/policies/utils.py", "repo_id": "lerobot", "token_count": 1049 }
214
#!/usr/bin/env python # Copyright 2025 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 # # ...
lerobot/src/lerobot/robots/bi_so100_follower/config_bi_so100_follower.py/0
{ "file_path": "lerobot/src/lerobot/robots/bi_so100_follower/config_bi_so100_follower.py", "repo_id": "lerobot", "token_count": 415 }
215
#!/usr/bin/env python # Copyright 2024 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 # # ...
lerobot/src/lerobot/robots/lekiwi/lekiwi_host.py/0
{ "file_path": "lerobot/src/lerobot/robots/lekiwi/lekiwi_host.py", "repo_id": "lerobot", "token_count": 1993 }
216
This tutorial explains how to use [Aloha and Aloha 2 stationary](https://www.trossenrobotics.com/aloha-stationary) with LeRobot. ## Setup Follow the [documentation from Trossen Robotics](https://docs.trossenrobotics.com/aloha_docs/2.0/getting_started/stationary/hardware_setup.html) for setting up the hardware and plu...
lerobot/src/lerobot/robots/viperx/README.md/0
{ "file_path": "lerobot/src/lerobot/robots/viperx/README.md", "repo_id": "lerobot", "token_count": 2779 }
217
# Copyright 2025 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 required by appl...
lerobot/src/lerobot/scripts/server/policy_server.py/0
{ "file_path": "lerobot/src/lerobot/scripts/server/policy_server.py", "repo_id": "lerobot", "token_count": 6373 }
218
# !/usr/bin/env python # Copyright 2025 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 # #...
lerobot/src/lerobot/teleoperators/gamepad/teleop_gamepad.py/0
{ "file_path": "lerobot/src/lerobot/teleoperators/gamepad/teleop_gamepad.py", "repo_id": "lerobot", "token_count": 1694 }
219
#!/usr/bin/env python # Copyright 2025 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 # ...
lerobot/src/lerobot/transport/utils.py/0
{ "file_path": "lerobot/src/lerobot/transport/utils.py", "repo_id": "lerobot", "token_count": 2592 }
220
# Copyright 2024 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 required by appl...
lerobot/src/lerobot/utils/visualization_utils.py/0
{ "file_path": "lerobot/src/lerobot/utils/visualization_utils.py", "repo_id": "lerobot", "token_count": 759 }
221
#!/usr/bin/env python # Copyright 2024 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 # # ...
lerobot/tests/datasets/test_online_buffer.py/0
{ "file_path": "lerobot/tests/datasets/test_online_buffer.py", "repo_id": "lerobot", "token_count": 4677 }
222
#!/usr/bin/env python # Copyright 2025 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 # # ...
lerobot/tests/rl/test_actor_learner.py/0
{ "file_path": "lerobot/tests/rl/test_actor_learner.py", "repo_id": "lerobot", "token_count": 3738 }
223
# Open R1 *A fully open reproduction of DeepSeek-R1. This repo is a work in progress, let's build it together!* **Table of Contents** 1. [Overview](#overview) 2. [Plan of attack](#plan-of-attack) 3. [Installation](#installation) 4. [Training models](#training-models) - [SFT](#sft) - [GRPO](#grpo) ...
open-r1/README.md/0
{ "file_path": "open-r1/README.md", "repo_id": "open-r1", "token_count": 13809 }
224
## Serving DeepSeek-R1 on 2x8 H100 SLURM nodes with SGLang 1. Set up the environment (adjust for your cuda version): ```bash conda create -n sglang124 python=3.11 conda activate sglang124 pip install torch==2.5.1 --index-url https://download.pytorch.org/whl/cu124 pip install sgl-kernel --force-reinstall --no-deps p...
open-r1/slurm/README.md/0
{ "file_path": "open-r1/slurm/README.md", "repo_id": "open-r1", "token_count": 390 }
225
# Copyright 2025 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...
open-r1/src/open_r1/grpo.py/0
{ "file_path": "open-r1/src/open_r1/grpo.py", "repo_id": "open-r1", "token_count": 2424 }
226
#!/usr/bin/env python # coding=utf-8 # Copyright 2025 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...
open-r1/src/open_r1/utils/hub.py/0
{ "file_path": "open-r1/src/open_r1/utils/hub.py", "repo_id": "open-r1", "token_count": 2201 }
227
<!--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-2.0 Unless required by applicable law or agreed...
peft/docs/source/developer_guides/low_level_api.md/0
{ "file_path": "peft/docs/source/developer_guides/low_level_api.md", "repo_id": "peft", "token_count": 2073 }
228
<!--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-2.0 Unless required by applicable law or agreed...
peft/docs/source/tutorial/peft_integrations.md/0
{ "file_path": "peft/docs/source/tutorial/peft_integrations.md", "repo_id": "peft", "token_count": 2255 }
229
<jupyter_start><jupyter_text>Peft model evaluation using [lm-eval-harness](https://github.com/EleutherAI/lm-evaluation-harness)In this notebook, we are going to learn how to evaluate the finetuned lora model on the hellaswag task using lm-eval-harness toolkit.<jupyter_code># Install LM-Eval !pip install -q datasets eva...
peft/examples/evaluation/lora-lm-eval.ipynb/0
{ "file_path": "peft/examples/evaluation/lora-lm-eval.ipynb", "repo_id": "peft", "token_count": 2454 }
230
<jupyter_start><jupyter_text>IntroductionIn this notebook, we will learn how to use [LoRA](https://huggingface.co/papers/2106.09685) from 🤗 PEFT to fine-tune an image classification model by ONLY using **0.77%** of the original trainable parameters of the model. LoRA adds low-rank "update matrices" to certain blocks i...
peft/examples/image_classification/image_classification_peft_lora.ipynb/0
{ "file_path": "peft/examples/image_classification/image_classification_peft_lora.ipynb", "repo_id": "peft", "token_count": 6375 }
231
import argparse import os import torch from diffusers import UNet2DConditionModel from safetensors.torch import save_file from transformers import CLIPTextModel from peft import PeftModel, get_peft_model_state_dict # Default kohya_ss LoRA replacement modules # https://github.com/kohya-ss/sd-scripts/blob/c924c47f374...
peft/examples/lora_dreambooth/convert_peft_sd_lora_to_kohya_ss.py/0
{ "file_path": "peft/examples/lora_dreambooth/convert_peft_sd_lora_to_kohya_ss.py", "repo_id": "peft", "token_count": 1632 }
232
# Copyright 2024-present 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 required by applicable law or...
peft/examples/olora_finetuning/olora_finetuning.py/0
{ "file_path": "peft/examples/olora_finetuning/olora_finetuning.py", "repo_id": "peft", "token_count": 3088 }
233
""" This exampe demonstrates loading of LoRA adapter (via PEFT) into an FP8 INC-quantized FLUX model. More info on Intel Neural Compressor (INC) FP8 quantization is available at: https://github.com/intel/neural-compressor/tree/master/examples/helloworld/fp8_example Requirements: pip install optimum-habana sentencepie...
peft/examples/stable_diffusion/inc_flux_lora_hpu.py/0
{ "file_path": "peft/examples/stable_diffusion/inc_flux_lora_hpu.py", "repo_id": "peft", "token_count": 815 }
234
{ "auto_mapping": null, "base_model_name_or_path": null, "bias": "none", "exclude_modules": null, "inference_mode": false, "init_weights": "bat", "layers_pattern": null, "layers_to_transform": null, "modules_to_save": null, "peft_type": "BONE", "r": 64, "revision": null, "target_modules": [ ...
peft/method_comparison/MetaMathQA/experiments/bone/llama-3.2-3B-bat/adapter_config.json/0
{ "file_path": "peft/method_comparison/MetaMathQA/experiments/bone/llama-3.2-3B-bat/adapter_config.json", "repo_id": "peft", "token_count": 166 }
235
{ "optimizer_kwargs": { "lr": 0.2 } }
peft/method_comparison/MetaMathQA/experiments/trainable_tokens/llama-3.2-3B-sos+eos/training_params.json/0
{ "file_path": "peft/method_comparison/MetaMathQA/experiments/trainable_tokens/llama-3.2-3B-sos+eos/training_params.json", "repo_id": "peft", "token_count": 27 }
236
# Copyright 2025-present 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 required by applicable law or...
peft/method_comparison/text_generation_benchmark/data.py/0
{ "file_path": "peft/method_comparison/text_generation_benchmark/data.py", "repo_id": "peft", "token_count": 1299 }
237
# 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-2.0 # # Unless required by applicabl...
peft/setup.py/0
{ "file_path": "peft/setup.py", "repo_id": "peft", "token_count": 1655 }
238
# Copyright 2023-present 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 required by applicable law or...
peft/src/peft/tuners/adalora/__init__.py/0
{ "file_path": "peft/src/peft/tuners/adalora/__init__.py", "repo_id": "peft", "token_count": 498 }
239
# Copyright 2023-present 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 required by applicable law or...
peft/src/peft/tuners/boft/layer.py/0
{ "file_path": "peft/src/peft/tuners/boft/layer.py", "repo_id": "peft", "token_count": 20142 }
240
# Copyright 2024-present 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 required by applicable law or...
peft/src/peft/tuners/fourierft/layer.py/0
{ "file_path": "peft/src/peft/tuners/fourierft/layer.py", "repo_id": "peft", "token_count": 3663 }
241
# Copyright 2023-present 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 required by applicable law or...
peft/src/peft/tuners/loha/config.py/0
{ "file_path": "peft/src/peft/tuners/loha/config.py", "repo_id": "peft", "token_count": 2674 }
242
# Copyright 2023-present 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 required by applicable law or...
peft/src/peft/tuners/lora/gptq.py/0
{ "file_path": "peft/src/peft/tuners/lora/gptq.py", "repo_id": "peft", "token_count": 2419 }
243
# Copyright 2023-present 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 required by applicable law or...
peft/src/peft/tuners/multitask_prompt_tuning/config.py/0
{ "file_path": "peft/src/peft/tuners/multitask_prompt_tuning/config.py", "repo_id": "peft", "token_count": 899 }
244
# Copyright 2025-present 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 required by applicable law or...
peft/src/peft/tuners/road/__init__.py/0
{ "file_path": "peft/src/peft/tuners/road/__init__.py", "repo_id": "peft", "token_count": 464 }
245
# Copyright 2024-present 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 required by applicable law or...
peft/src/peft/tuners/vblora/config.py/0
{ "file_path": "peft/src/peft/tuners/vblora/config.py", "repo_id": "peft", "token_count": 3932 }
246
# Copyright 2024-present 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 required by applicable law or...
peft/src/peft/utils/incremental_pca.py/0
{ "file_path": "peft/src/peft/utils/incremental_pca.py", "repo_id": "peft", "token_count": 6134 }
247
import torch from peft.tuners._buffer_dict import BufferDict class TestBufferDict: def test_init_from_dict_works(self): bd = BufferDict( { "default": torch.randn(10, 2), } ) def test_update_from_other_bufferdict(self): default_tensor = torch.ra...
peft/tests/test_bufferdict.py/0
{ "file_path": "peft/tests/test_bufferdict.py", "repo_id": "peft", "token_count": 740 }
248
# Copyright 2025-present 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 required by applicable law or...
peft/tests/test_lora_variants.py/0
{ "file_path": "peft/tests/test_lora_variants.py", "repo_id": "peft", "token_count": 2196 }
249
#!/usr/bin/env python3 # coding=utf-8 # Copyright 2023-present 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 #...
peft/tests/test_tuners_utils.py/0
{ "file_path": "peft/tests/test_tuners_utils.py", "repo_id": "peft", "token_count": 38830 }
250
*This guideline is very much a work-in-progress.* Contributions to `timm` for code, documentation, tests are more than welcome! There haven't been any formal guidelines to date so please bear with me, and feel free to add to this guide. # Coding style Code linting and auto-format (black) are not currently in place ...
pytorch-image-models/CONTRIBUTING.md/0
{ "file_path": "pytorch-image-models/CONTRIBUTING.md", "repo_id": "pytorch-image-models", "token_count": 1223 }
251
# Sharing and Loading Models From the Hugging Face Hub The `timm` library has a built-in integration with the Hugging Face Hub, making it easy to share and load models from the 🤗 Hub. In this short guide, we'll see how to: 1. Share a `timm` model on the Hub 2. How to load that model back from the Hub ## Authent...
pytorch-image-models/hfdocs/source/hf_hub.mdx/0
{ "file_path": "pytorch-image-models/hfdocs/source/hf_hub.mdx", "repo_id": "pytorch-image-models", "token_count": 593 }
252
# # Ensemble Adversarial Inception ResNet v2 **Inception-ResNet-v2** is a convolutional neural architecture that builds on the Inception family of architectures but incorporates [residual connections](https://paperswithcode.com/method/residual-connection) (replacing the filter concatenation stage of the Inception arch...
pytorch-image-models/hfdocs/source/models/ensemble-adversarial.mdx/0
{ "file_path": "pytorch-image-models/hfdocs/source/models/ensemble-adversarial.mdx", "repo_id": "pytorch-image-models", "token_count": 2212 }
253
# RexNet **Rank Expansion Networks** (ReXNets) follow a set of new design principles for designing bottlenecks in image classification models. Authors refine each layer by 1) expanding the input channel size of the convolution layer and 2) replacing the [ReLU6s](https://www.paperswithcode.com/method/relu6). ## How do...
pytorch-image-models/hfdocs/source/models/rexnet.mdx/0
{ "file_path": "pytorch-image-models/hfdocs/source/models/rexnet.mdx", "repo_id": "pytorch-image-models", "token_count": 3087 }
254
# TResNet A **TResNet** is a variant on a [ResNet](https://paperswithcode.com/method/resnet) that aim to boost accuracy while maintaining GPU training and inference efficiency. They contain several design tricks including a SpaceToDepth stem, [Anti-Alias downsampling](https://paperswithcode.com/method/anti-alias-down...
pytorch-image-models/hfdocs/source/models/tresnet.mdx/0
{ "file_path": "pytorch-image-models/hfdocs/source/models/tresnet.mdx", "repo_id": "pytorch-image-models", "token_count": 4203 }
255
import numpy as np import pandas as pd results = { 'results-imagenet.csv': [ 'results-imagenet-real.csv', 'results-imagenetv2-matched-frequency.csv', 'results-sketch.csv' ], 'results-imagenet-a-clean.csv': [ 'results-imagenet-a.csv', ], 'results-imagenet-r-clean.csv...
pytorch-image-models/results/generate_csv_results.py/0
{ "file_path": "pytorch-image-models/results/generate_csv_results.py", "repo_id": "pytorch-image-models", "token_count": 1453 }
256
from .version import __version__ as __version__ from .layers import ( is_scriptable as is_scriptable, is_exportable as is_exportable, set_scriptable as set_scriptable, set_exportable as set_exportable, ) from .models import ( create_model as create_model, list_models as list_models, list_pre...
pytorch-image-models/timm/__init__.py/0
{ "file_path": "pytorch-image-models/timm/__init__.py", "repo_id": "pytorch-image-models", "token_count": 219 }
257
""" Mixup and Cutmix Papers: mixup: Beyond Empirical Risk Minimization (https://arxiv.org/abs/1710.09412) CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Features (https://arxiv.org/abs/1905.04899) Code Reference: CutMix: https://github.com/clovaai/CutMix-PyTorch Hacked together by / Co...
pytorch-image-models/timm/data/mixup.py/0
{ "file_path": "pytorch-image-models/timm/data/mixup.py", "repo_id": "pytorch-image-models", "token_count": 8184 }
258
""" A dataset reader that reads single tarfile based datasets This reader can read datasets consisting if a single tarfile containing images. I am planning to deprecated it in favour of ParerImageInTar. Hacked together by / Copyright 2020 Ross Wightman """ import os import tarfile from timm.utils.misc import natural...
pytorch-image-models/timm/data/readers/reader_image_tar.py/0
{ "file_path": "pytorch-image-models/timm/data/readers/reader_image_tar.py", "repo_id": "pytorch-image-models", "token_count": 1071 }
259
""" Attention Pool 2D Implementations of 2D spatial feature pooling using multi-head attention instead of average pool. Based on idea in CLIP by OpenAI, licensed Apache 2.0 https://github.com/openai/CLIP/blob/3b473b0e682c091a9e53623eebc1ca1657385717/clip/model.py Hacked together by / Copyright 2021 Ross Wightman """...
pytorch-image-models/timm/layers/attention_pool2d.py/0
{ "file_path": "pytorch-image-models/timm/layers/attention_pool2d.py", "repo_id": "pytorch-image-models", "token_count": 5737 }
260
""" EvoNorm in PyTorch Based on `Evolving Normalization-Activation Layers` - https://arxiv.org/abs/2004.02967 @inproceedings{NEURIPS2020, author = {Liu, Hanxiao and Brock, Andy and Simonyan, Karen and Le, Quoc}, booktitle = {Advances in Neural Information Processing Systems}, editor = {H. Larochelle and M. Ranzato ...
pytorch-image-models/timm/layers/evo_norm.py/0
{ "file_path": "pytorch-image-models/timm/layers/evo_norm.py", "repo_id": "pytorch-image-models", "token_count": 6684 }
261
""" Median Pool Hacked together by / Copyright 2020 Ross Wightman """ import torch.nn as nn import torch.nn.functional as F from .helpers import to_2tuple, to_4tuple class MedianPool2d(nn.Module): """ Median pool (usable as median filter when stride=1) module. Args: kernel_size: size of pooling kern...
pytorch-image-models/timm/layers/median_pool.py/0
{ "file_path": "pytorch-image-models/timm/layers/median_pool.py", "repo_id": "pytorch-image-models", "token_count": 883 }
262
""" Depthwise Separable Conv Modules Basic DWS convs. Other variations of DWS exist with batch norm or activations between the DW and PW convs such as the Depthwise modules in MobileNetV2 / EfficientNet and Xception. Hacked together by / Copyright 2020 Ross Wightman """ from torch import nn as nn from .create_conv2d...
pytorch-image-models/timm/layers/separable_conv.py/0
{ "file_path": "pytorch-image-models/timm/layers/separable_conv.py", "repo_id": "pytorch-image-models", "token_count": 1138 }
263
import dataclasses import logging import os from copy import deepcopy from pathlib import Path from typing import Any, Callable, Dict, List, Optional, Tuple, Type, TypeVar, Union from torch import nn as nn from torch.hub import load_state_dict_from_url from timm.models._features import FeatureListNet, FeatureDictNet,...
pytorch-image-models/timm/models/_builder.py/0
{ "file_path": "pytorch-image-models/timm/models/_builder.py", "repo_id": "pytorch-image-models", "token_count": 9114 }
264
""" Model Registry Hacked together by / Copyright 2020 Ross Wightman """ import fnmatch import re import sys import warnings from collections import defaultdict, deque from copy import deepcopy from dataclasses import replace from typing import Any, Callable, Dict, Iterable, List, Optional, Set, Sequence, Union, Tuple...
pytorch-image-models/timm/models/_registry.py/0
{ "file_path": "pytorch-image-models/timm/models/_registry.py", "repo_id": "pytorch-image-models", "token_count": 5725 }
265
""" EdgeNeXt Paper: `EdgeNeXt: Efficiently Amalgamated CNN-Transformer Architecture for Mobile Vision Applications` - https://arxiv.org/abs/2206.10589 Original code and weights from https://github.com/mmaaz60/EdgeNeXt Modifications and additions for timm by / Copyright 2022, Ross Wightman """ import math from funct...
pytorch-image-models/timm/models/edgenext.py/0
{ "file_path": "pytorch-image-models/timm/models/edgenext.py", "repo_id": "pytorch-image-models", "token_count": 12222 }
266
from ._builder import * from ._helpers import * from ._manipulate import * from ._prune import * import warnings warnings.warn(f"Importing from {__name__} is deprecated, please import via timm.models", FutureWarning)
pytorch-image-models/timm/models/helpers.py/0
{ "file_path": "pytorch-image-models/timm/models/helpers.py", "repo_id": "pytorch-image-models", "token_count": 62 }
267
""" MobileNet V3 A PyTorch impl of MobileNet-V3, compatible with TF weights from official impl. Paper: Searching for MobileNetV3 - https://arxiv.org/abs/1905.02244 Hacked together by / Copyright 2019, Ross Wightman """ from functools import partial from typing import Any, Dict, Callable, List, Optional, Tuple, Union...
pytorch-image-models/timm/models/mobilenetv3.py/0
{ "file_path": "pytorch-image-models/timm/models/mobilenetv3.py", "repo_id": "pytorch-image-models", "token_count": 32542 }
268
""" RepViT Paper: `RepViT: Revisiting Mobile CNN From ViT Perspective` - https://arxiv.org/abs/2307.09283 @misc{wang2023repvit, title={RepViT: Revisiting Mobile CNN From ViT Perspective}, author={Ao Wang and Hui Chen and Zijia Lin and Hengjun Pu and Guiguang Ding}, year={2023}, eprint={230...
pytorch-image-models/timm/models/repvit.py/0
{ "file_path": "pytorch-image-models/timm/models/repvit.py", "repo_id": "pytorch-image-models", "token_count": 9407 }
269
""" TinyViT Paper: `TinyViT: Fast Pretraining Distillation for Small Vision Transformers` - https://arxiv.org/abs/2207.10666 Adapted from official impl at https://github.com/microsoft/Cream/tree/main/TinyViT """ __all__ = ['TinyVit'] import itertools from functools import partial from typing import Dict, List, ...
pytorch-image-models/timm/models/tiny_vit.py/0
{ "file_path": "pytorch-image-models/timm/models/tiny_vit.py", "repo_id": "pytorch-image-models", "token_count": 13498 }
270
from .adabelief import AdaBelief from .adafactor import Adafactor from .adafactor_bv import AdafactorBigVision from .adahessian import Adahessian from .adamp import AdamP from .adamw import AdamWLegacy from .adan import Adan from .adopt import Adopt from .lamb import Lamb from .laprop import LaProp from .lars import La...
pytorch-image-models/timm/optim/__init__.py/0
{ "file_path": "pytorch-image-models/timm/optim/__init__.py", "repo_id": "pytorch-image-models", "token_count": 385 }
271
""" Lion Optimizer Paper: `Symbolic Discovery of Optimization Algorithms` - https://arxiv.org/abs/2302.06675 Original Impl: https://github.com/google/automl/tree/master/lion References for added functionality: Cautious Optimizers: https://arxiv.org/abs/2411.16085 Why Gradients Rapidly Increase Near the End of ...
pytorch-image-models/timm/optim/lion.py/0
{ "file_path": "pytorch-image-models/timm/optim/lion.py", "repo_id": "pytorch-image-models", "token_count": 4091 }
272
""" Plateau Scheduler Adapts PyTorch plateau scheduler and allows application of noise, warmup. Hacked together by / Copyright 2020 Ross Wightman """ import torch from typing import List from .scheduler import Scheduler class PlateauLRScheduler(Scheduler): """Decay the LR by a factor every time the validation ...
pytorch-image-models/timm/scheduler/plateau_lr.py/0
{ "file_path": "pytorch-image-models/timm/scheduler/plateau_lr.py", "repo_id": "pytorch-image-models", "token_count": 1807 }
273
""" Eval metrics and related Hacked together by / Copyright 2020 Ross Wightman """ class AverageMeter: """Computes and stores the average and current value""" def __init__(self): self.reset() def reset(self): self.val = 0 self.avg = 0 self.sum = 0 self.count = 0 ...
pytorch-image-models/timm/utils/metrics.py/0
{ "file_path": "pytorch-image-models/timm/utils/metrics.py", "repo_id": "pytorch-image-models", "token_count": 374 }
274
repos: - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.2.1 hooks: - id: ruff args: - --fix - id: ruff-format - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.5.0 hooks: - id: check-merge-conflict - id: check-yaml
smolagents/.pre-commit-config.yaml/0
{ "file_path": "smolagents/.pre-commit-config.yaml", "repo_id": "smolagents", "token_count": 158 }
275
# Agentic RAG [[open-in-colab]] ## Introduction to Retrieval-Augmented Generation (RAG) Retrieval-Augmented Generation (RAG) combines the power of large language models with external knowledge retrieval to produce more accurate, factual, and contextually relevant responses. At its core, RAG is about "using an LLM to...
smolagents/docs/source/en/examples/rag.md/0
{ "file_path": "smolagents/docs/source/en/examples/rag.md", "repo_id": "smolagents", "token_count": 2523 }
276
- title: Get started sections: - local: index title: 소개 - title: 예제 sections: - local: examples/text_to_sql title: 스스로 오류를 수정하는 Text-to-SQL - local: in_translation title: (번역중) Master your knowledge base with agentic RAG - local: examples/multiagents title: 멀티 에이전트 시스템 오케스트레이션 - local: in_...
smolagents/docs/source/ko/_toctree.yml/0
{ "file_path": "smolagents/docs/source/ko/_toctree.yml", "repo_id": "smolagents", "token_count": 424 }
277
# 工具 <Tip warning={true}> Smolagents 是一个实验性 API,可能会随时更改。由于 API 或底层模型可能发生变化,代理返回的结果可能会有所不同。 </Tip> 要了解更多关于智能体和工具的信息,请务必阅读[入门指南](../index)。本页面包含底层类的 API 文档。 ## 工具 ### load_tool [[autodoc]] load_tool ### tool [[autodoc]] tool ### Tool [[autodoc]] Tool ### launch_gradio_demo [[autodoc]] launch_gradio_demo ## ...
smolagents/docs/source/zh/reference/tools.md/0
{ "file_path": "smolagents/docs/source/zh/reference/tools.md", "repo_id": "smolagents", "token_count": 1123 }
278
<jupyter_start><jupyter_code>!pip install plotly kaleido datasets nbformat -U -q import os import datasets import pandas as pd from dotenv import load_dotenv from huggingface_hub import login load_dotenv(override=True) login(os.getenv("HF_TOKEN")) pd.set_option("max_colwidth", None) OUTPUT_DIR = "output" eval_ds =...
smolagents/examples/open_deep_research/analysis.ipynb/0
{ "file_path": "smolagents/examples/open_deep_research/analysis.ipynb", "repo_id": "smolagents", "token_count": 3321 }
279
# from huggingface_hub import login # login() import datasets from langchain.docstore.document import Document from langchain.text_splitter import RecursiveCharacterTextSplitter from langchain_community.retrievers import BM25Retriever knowledge_base = datasets.load_dataset("m-ric/huggingface_doc", split="train") kno...
smolagents/examples/rag.py/0
{ "file_path": "smolagents/examples/rag.py", "repo_id": "smolagents", "token_count": 818 }
280
#!/usr/bin/env python # coding=utf-8 # Copyright 2024 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...
smolagents/src/smolagents/gradio_ui.py/0
{ "file_path": "smolagents/src/smolagents/gradio_ui.py", "repo_id": "smolagents", "token_count": 9065 }
281
import io from textwrap import dedent from unittest.mock import MagicMock, patch import docker import PIL.Image import pytest from rich.console import Console from smolagents.default_tools import FinalAnswerTool, WikipediaSearchTool from smolagents.monitoring import AgentLogger, LogLevel from smolagents.remote_execut...
smolagents/tests/test_remote_executors.py/0
{ "file_path": "smolagents/tests/test_remote_executors.py", "repo_id": "smolagents", "token_count": 7884 }
282
# Rust builder FROM lukemathwalker/cargo-chef:latest-rust-1.85.1 AS chef WORKDIR /usr/src ARG CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse FROM chef AS planner COPY Cargo.lock Cargo.lock COPY Cargo.toml Cargo.toml COPY rust-toolchain.toml rust-toolchain.toml COPY proto proto COPY benchmark benchmark COPY router router ...
text-generation-inference/Dockerfile/0
{ "file_path": "text-generation-inference/Dockerfile", "repo_id": "text-generation-inference", "token_count": 3446 }
283
use std::fs; fn main() -> Result<(), Box<dyn std::error::Error>> { println!("cargo:rerun-if-changed=../../proto/"); fs::create_dir_all("src/v2/pb").unwrap_or(()); let mut config = prost_build::Config::new(); config.protoc_arg("--experimental_allow_proto3_optional"); tonic_build::configure() ...
text-generation-inference/backends/client/build.rs/0
{ "file_path": "text-generation-inference/backends/client/build.rs", "repo_id": "text-generation-inference", "token_count": 624 }
284
flash_att_commit := 3a9bfd076f98746c73362328958dbc68d145fbec build-flash-attention: if [ ! -d 'flash-attention' ]; then \ pip install -U packaging ninja --no-cache-dir && \ git clone https://github.com/HazyResearch/flash-attention.git; \ fi cd flash-attention && git fetch && git checkout $(flash_att_commit) &&...
text-generation-inference/backends/gaudi/server/Makefile-flash-att/0
{ "file_path": "text-generation-inference/backends/gaudi/server/Makefile-flash-att", "repo_id": "text-generation-inference", "token_count": 231 }
285
import os import sys import typer from pathlib import Path from loguru import logger from typing import Optional from enum import Enum from huggingface_hub import hf_hub_download from text_generation_server.utils.adapter import parse_lora_adapters app = typer.Typer() class Quantization(str, Enum): gptq = "gptq...
text-generation-inference/backends/gaudi/server/text_generation_server/cli.py/0
{ "file_path": "text-generation-inference/backends/gaudi/server/text_generation_server/cli.py", "repo_id": "text-generation-inference", "token_count": 5876 }
286
from dataclasses import dataclass from typing import Optional, Tuple, Type, Union, List import torch from text_generation_server.utils.weights import ( Weight, WeightsLoader, UnquantizedWeight, Weights, ) from vllm_hpu_extension.ops import scaled_fp8_quant from vllm_hpu_extension.scales import get_hp...
text-generation-inference/backends/gaudi/server/text_generation_server/layers/fp8.py/0
{ "file_path": "text-generation-inference/backends/gaudi/server/text_generation_server/layers/fp8.py", "repo_id": "text-generation-inference", "token_count": 11380 }
287
import torch from torch.nn import functional as F from typing import Iterable, List from text_generation_server.layers.linear import get_linear, FastLinear import habana_frameworks.torch as htorch class LayerConcat(torch.nn.Module): """ Apply multiple layers to the input and concatenate their outputs. ...
text-generation-inference/backends/gaudi/server/text_generation_server/layers/tensor_parallel.py/0
{ "file_path": "text-generation-inference/backends/gaudi/server/text_generation_server/layers/tensor_parallel.py", "repo_id": "text-generation-inference", "token_count": 4080 }
288
# Origin: https://github.com/predibase/lorax # Path: lorax/server/lorax_server/utils/adapter.py # License: Apache License Version 2.0, January 2004 import warnings import re from dataclasses import dataclass from functools import lru_cache from typing import TYPE_CHECKING, Set, Tuple, Optional, List from safet...
text-generation-inference/backends/gaudi/server/text_generation_server/utils/adapter.py/0
{ "file_path": "text-generation-inference/backends/gaudi/server/text_generation_server/utils/adapter.py", "repo_id": "text-generation-inference", "token_count": 4488 }
289
# Origin: https://github.com/predibase/lorax # Path: lorax/server/lorax_server/utils/sgmv.py # License: Apache License Version 2.0, January 2004 import os import warnings from functools import lru_cache from typing import List, Tuple import torch import torch.nn.functional as F try: import punica_kernels ...
text-generation-inference/backends/gaudi/server/text_generation_server/utils/sgmv.py/0
{ "file_path": "text-generation-inference/backends/gaudi/server/text_generation_server/utils/sgmv.py", "repo_id": "text-generation-inference", "token_count": 3651 }
290
use crate::llamacpp; use std::ffi::CString; #[repr(u32)] #[derive(Debug, Clone, Copy)] pub enum QuantizeType { MostlyQ4_0 = 2, } pub fn model( input_path: &str, output_path: &str, ftype: QuantizeType, n_threads: usize, ) -> Result<(), String> { let c_input_path = CString::new(input_pa...
text-generation-inference/backends/llamacpp/src/quantize.rs/0
{ "file_path": "text-generation-inference/backends/llamacpp/src/quantize.rs", "repo_id": "text-generation-inference", "token_count": 419 }
291
from argparse import ArgumentParser from huggingface_hub import HfApi def main(): parser = ArgumentParser() parser.add_argument("--yes", action="store_true", default=False) args = parser.parse_args() api = HfApi() models = api.list_models(search="optimum-internal-testing/neuron-tgi-testing") f...
text-generation-inference/backends/neuron/tests/prune_test_models.py/0
{ "file_path": "text-generation-inference/backends/neuron/tests/prune_test_models.py", "repo_id": "text-generation-inference", "token_count": 285 }
292
use cxx_build::CFG; use pkg_config; use std::env; use std::env::consts::ARCH; use std::path::{absolute, PathBuf}; use std::sync::LazyLock; const ADDITIONAL_BACKEND_LINK_LIBRARIES: [&str; 1] = ["spdlog"]; const CUDA_ARCH_LIST: Option<&str> = option_env!("CUDA_ARCH_LIST"); const CUDA_REQUIRED_VERSION: &str = "12.8"; con...
text-generation-inference/backends/trtllm/build.rs/0
{ "file_path": "text-generation-inference/backends/trtllm/build.rs", "repo_id": "text-generation-inference", "token_count": 4237 }
293
// // Created by mfuntowicz on 12/3/24. // #include <catch2/catch_all.hpp> #include <nlohmann/json.hpp> #include <tensorrt_llm/executor/executor.h> #include "backend.hpp" using namespace huggingface::tgi::backends::trtllm; TEST_CASE("parse generation_config.json all set", "[generation_config_t]") { const json c...
text-generation-inference/backends/trtllm/tests/test_backend.cpp/0
{ "file_path": "text-generation-inference/backends/trtllm/tests/test_backend.cpp", "repo_id": "text-generation-inference", "token_count": 2696 }
294
/// Single shard Client use crate::client::{pb, Chunk}; use crate::client::{ClientError, Result, WARMUP_IMAGE_BASE64}; use base64::engine::general_purpose::STANDARD; use base64::Engine; use grpc_metadata::InjectTelemetryContext; use pb::generate::v3::text_generation_service_client::TextGenerationServiceClient; use pb::...
text-generation-inference/backends/v3/src/client/grpc_client.rs/0
{ "file_path": "text-generation-inference/backends/v3/src/client/grpc_client.rs", "repo_id": "text-generation-inference", "token_count": 5255 }
295
Documentation available at: https://huggingface.co/docs/text-generation-inference ## Release When making a release, please update the latest version in the documentation with: ``` export OLD_VERSION="2\.0\.3" export NEW_VERSION="2\.0\.4" find . -name '*.md' -exec sed -i -e "s/$OLD_VERSION/$NEW_VERSION/g" {} \; ```
text-generation-inference/docs/README.md/0
{ "file_path": "text-generation-inference/docs/README.md", "repo_id": "text-generation-inference", "token_count": 107 }
296
# Using TGI CLI You can use TGI command-line interface (CLI) to download weights, serve and quantize models, or get information on serving parameters. To install the CLI, please refer to [the installation section](../installation#install-cli). `text-generation-server` lets you download the model with `download-weight...
text-generation-inference/docs/source/basic_tutorials/using_cli.md/0
{ "file_path": "text-generation-inference/docs/source/basic_tutorials/using_cli.md", "repo_id": "text-generation-inference", "token_count": 323 }
297
# Using TGI with AMD GPUs TGI is supported and tested on [AMD Instinct MI210](https://www.amd.com/en/products/accelerators/instinct/mi200/mi210.html), [MI250](https://www.amd.com/en/products/accelerators/instinct/mi200/mi250.html) and [MI300](https://www.amd.com/en/products/accelerators/instinct/mi300.html) GPUs. The ...
text-generation-inference/docs/source/installation_amd.md/0
{ "file_path": "text-generation-inference/docs/source/installation_amd.md", "repo_id": "text-generation-inference", "token_count": 1047 }
298
import asyncio import contextlib import os import shlex import subprocess import sys import threading import time from tempfile import TemporaryDirectory from typing import List import socket import docker import pytest from aiohttp import ClientConnectorError, ClientOSError, ServerDisconnectedError from docker.errors...
text-generation-inference/integration-tests/fixtures/gaudi/service.py/0
{ "file_path": "text-generation-inference/integration-tests/fixtures/gaudi/service.py", "repo_id": "text-generation-inference", "token_count": 4842 }
299
[ { "choices": [ { "delta": { "content": "OK", "function_call": null, "refusal": null, "role": "assistant", "tool_calls": null }, "finish_reason": null, "index": 0, "logprobs": null } ], "created": 174126...
text-generation-inference/integration-tests/models/__snapshots__/test_completion_prompts/test_chat_openai_nousage.json/0
{ "file_path": "text-generation-inference/integration-tests/models/__snapshots__/test_completion_prompts/test_chat_openai_nousage.json", "repo_id": "text-generation-inference", "token_count": 861 }
300
{ "details": { "best_of_sequences": null, "finish_reason": "length", "generated_tokens": 10, "prefill": [], "seed": 0, "tokens": [ { "id": 836, "logprob": -1.265625, "special": false, "text": " i" }, { "id": 18, "logprob": -0.11...
text-generation-inference/integration-tests/models/__snapshots__/test_flash_falcon/test_flash_falcon_all_params.json/0
{ "file_path": "text-generation-inference/integration-tests/models/__snapshots__/test_flash_falcon/test_flash_falcon_all_params.json", "repo_id": "text-generation-inference", "token_count": 905 }
301
[ { "details": { "best_of_sequences": null, "finish_reason": "length", "generated_tokens": 10, "prefill": [], "seed": null, "tokens": [ { "id": 13, "logprob": -1.1845703, "special": false, "text": "\n" }, { ...
text-generation-inference/integration-tests/models/__snapshots__/test_flash_medusa/test_flash_medusa_load.json/0
{ "file_path": "text-generation-inference/integration-tests/models/__snapshots__/test_flash_medusa/test_flash_medusa_load.json", "repo_id": "text-generation-inference", "token_count": 4006 }
302