Comments (4)
Sorry, I will continue to provide additional information. I dynamically obtain the maximum length of a sentence based on each batch of the dataset
from transformers.
Related Issues (20)
- Replace `torch.tensor()` with `torch.from_numpy()` when processing numpy arrays HOT 4
- Is it possible to use T5EncoderModel with torch_dtype=torch.float8_e4m3fn, or is this a bug? HOT 4
- TFSwinModel: AttributeError: module 'keras.utils' has no attribute 'unpack_x_y_sample_weight' HOT 4
- No warningmessage when load models with a gamma or beta parameter HOT 4
- MultiTask Classification and label_names on Trainer HOT 1
- PR #31502 bumps up PyTorch requirement to >=2.4 HOT 2
- Model saving (via `.save_pretrained` or `.push_to_hub`) produces inconsistent shard sizes when some weights are offloaded HOT 2
- The model's address is https://huggingface.co/Xenova/nllb-200-distilled-600M/tree/main/onnxγI don't know how to load encode.onnx and decoder.onnx, and successfully translate a sentence into another language. Can you help me write an inference code to achieve the translation effect through the encoder and decoder? thank you HOT 1
- Persistent ImportError with TrainingArguments in Hugging Face Transformers despite installing accelerate and dependencie HOT 2
- What's going on with T5 x torch.compile ? HOT 1
- prune_heads() method for AutoModelForCausalLM HOT 2
- How to obtain batch index of validation dataset?
- Questions about supporting KV Cache quantization for models that do not support quantized cache now HOT 7
- How to use hugginface for training: google-t5/t5-base HOT 1
- The llava processor does not appear to support batch process. HOT 6
- [Falcon Mamba] Unexpected model output with use_cache=False and model.train() HOT 5
- 'CohereModel' object has no attribute '_prune_heads' HOT 3
- When will Transformers version 4.45.0 be released? HOT 1
- RobertaTokenizer has incorrect character offsets HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from transformers.