- 17 May, 2023 11 commits
-
-
Joao Gante authored
-
Zachary Mueller authored
Update error
-
Lysandre Debut authored
Fix + link
-
Lysandre Debut authored
* Awesome Transformers * Update * Update * Keywords * Keywords * Complete document * Add lm-evaluation-harness * Edit txtai according to David's comments * Update awesome-transformers.md
-
IMvision12 authored
* Create test_tokenization_electra.py * Update tests/models/electra/test_tokenization_electra.py Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com> --------- Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
-
cyy authored
search model buffers for dtype as the last resort
-
Taras Tsugrii authored
Previously even after finding a stop token, other stop tokens were considered, which is unnecessary and slows down processing. Currently, this unnecessary overhead is negligible since there are usually 2 stop tokens considered and they are fairly short, but in future it may become more expensive.
-
Younes Belkada authored
* fix sam slow test * oops * fix error message
-
Yih-Dar authored
* fix --------- Co-authored-by:ydshieh <ydshieh@users.noreply.github.com>
-
Taras Tsugrii authored
It's more efficient to iterate over key, value dict pairs instead of iterating over keys and performing value lookups on each iteration. It's also more idiomatic.
-
Taras Tsugrii authored
-
- 16 May, 2023 20 commits
-
-
Yih-Dar authored
fix Co-authored-by:ydshieh <ydshieh@users.noreply.github.com>
-
Yih-Dar authored
* fix * fix * update --------- Co-authored-by:ydshieh <ydshieh@users.noreply.github.com>
-
ropoctl authored
Logging an error and continuing is probably following the principle of least surprise.
-
Sylvain Gugger authored
-
Taras Tsugrii authored
It's more idiomatic and significantly more efficient because 1) it avoids repeated `append` call that Python has to resolve on each iteration 2) can preallocate the size of the final list avoiding resizing
-
Joao Gante authored
Co-authored-by:amyeroberts <22614925+amyeroberts@users.noreply.github.com>
-
Sylvain Gugger authored
* Add a test of the built release * Polish everything * Trigger CI
-
Joao Gante authored
-
Stas Bekman authored
* [automodel] fix torch_dtype=auto in from_pretrained * add test * fix logic * Update src/transformers/models/auto/auto_factory.py Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com> --------- Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
-
Zachary Mueller authored
* Fix translation
-
Joao Gante authored
-
Younes Belkada authored
add conditional generation on docstring
-
Lucain authored
* Few fixes in new Tools implementation * code quality
-
Sohyun Sim authored
* docs: ko: task/asr.mdx * feat: manual draft * fix: resolve suggestions Co-authored-by:
Hyeonseo Yun <0525yhs@gmail.com> --------- Co-authored-by:
Hyeonseo Yun <0525yhs@gmail.com>
-
Ivan Sedykh authored
fix chat prompts
-
Joao Gante authored
-
Yih-Dar authored
* fix * fix * fix test + add more docs --------- Co-authored-by:
ydshieh <ydshieh@users.noreply.github.com> Co-authored-by:
younesbelkada <younesbelkada@gmail.com>
-
Yih-Dar authored
fix Co-authored-by:ydshieh <ydshieh@users.noreply.github.com>
-
ready-research authored
* Use `mkstemp` to replace deprecated `mktemp` The `tempfile.mktemp` function is [deprecated](https://docs.python.org/3/library/tempfile.html#tempfile.mktemp) due to [security issues](https://cwe.mitre.org/data/definitions/377.html ). * Update src/transformers/utils/hub.py Co-authored-by:
amyeroberts <22614925+amyeroberts@users.noreply.github.com> --------- Co-authored-by:
amyeroberts <22614925+amyeroberts@users.noreply.github.com>
-
Koki Tanaka authored
* Replace numpy operations with jax.numpy for JIT compatibility Replaced numpy operations with their jax.numpy equivalents in the transformer library. This change was necessary to prevent errors during JIT compilation. Specifically, the modifications involve changing numpy's in-place assignments to jax.numpy's immutable update methods. * rm numpy import * rm numpy import and fix np->jnp * fixed slices bug * fixed decoder_start_tokens -> decoder_start_token_id * fixed jnp in modleing mt5 * doc fix * rm numpy import * make
-
- 15 May, 2023 9 commits
-
-
dewa authored
* Added type hints for `Graphormer` pytorch version added type hints for graphormers pytorch , checked formating issues . * made the code less bloated
-
LWprogramming authored
-
Yih-Dar authored
fix Co-authored-by:ydshieh <ydshieh@users.noreply.github.com>
-
AinL authored
[Bugfix] `OPTDecoderLayer` does not return attentions when `gradient_checkpointing` and `training` is enabled. (#23367) Update modeling_opt.py
-
Yih-Dar authored
fix Co-authored-by:ydshieh <ydshieh@users.noreply.github.com>
-
Yih-Dar authored
fix Co-authored-by:ydshieh <ydshieh@users.noreply.github.com>
-
Yih-Dar authored
fix Co-authored-by:ydshieh <ydshieh@users.noreply.github.com>
-
Yih-Dar authored
* fix * fix --------- Co-authored-by:ydshieh <ydshieh@users.noreply.github.com>
-
richardachen authored
Update graphormer.mdx Typo suggestion
-