Skip to content
This repository was archived by the owner on Oct 31, 2025. It is now read-only.

Conversation

@mmarcinmichal
Copy link

The code, originally in version 1.4.1, has been upgraded to version 1.5.1. The main changes include:

  • Compatibility with Tensorflow 2.13.0
  • Compatibility with jax==0.4.20
  • Update of dependencies
  • Bringing the code to a Build passing status (running tests, with minor exclusions for terraformer and RL tests).

syzymon and others added 30 commits September 16, 2021 20:40
…Is with their up-to-date, more succinct equivalent `x.at[idx].set(y)`.

The JAX operators:
jax.ops.index_update(x, jax.ops.index[idx], y)
jax.ops.index_add(x, jax.ops.index[idx], y)
...

have long been deprecated in lieu of their more succinct counterparts:
x.at[idx].set(y)
x.at[idx].add(y)
...

This change updates users of the deprecated APIs to use the current APIs, in preparation for removing the deprecated forms from JAX.

The main subtlety is that if `x` is not a JAX array, we must cast it to one using `jnp.asarray(x)` before using the new form, since `.at[...]` is only defined on JAX arrays.

PiperOrigin-RevId: 400211174
If you choose to work with your own dataset, the generator must be infinite to prevent the train phase from being interrupted by the StopIteration event: during the generative cycle
…ore public names.

Change in preparation for removing some function exports from jax.lib.xla_bridge.

PiperOrigin-RevId: 404256000
COPYBARA_INTEGRATE_REVIEW=google#1699 from Vatican-X-Formers:hourglass-colab 3975cb6
PiperOrigin-RevId: 404276005
…ted.

* replace uses of `jax.ops.index[...]` with `jax.numpy.index_exp[...]`, which is a standard NumPy function that does the same thing.
* remove some redundant uses of `jax.ops.index[...]`, where the expression is passed directly to an indexed accessor function like `.at[...]`.
* update some remaining users of `jax.ops.index_update(x, jax.ops.index[idx], y)` to use the `x.at[idx].set(y)` APIs.

PiperOrigin-RevId: 404324613
COPYBARA_INTEGRATE_REVIEW=google#1706 from Vatican-X-Formers:hourglass-colab2 1c7ea49
PiperOrigin-RevId: 404533118
Add capability for  LSTN layer:
1) getting a complete state RNN (c, h) from the stack as input instead to use a zero initialization . Use initial_state=True parameter for that. Default False.
2) putting a complete state RNN (c, h) in the stack as output instead to discard it. Use return_state=True parameter for that . Default False.
…aling Transformers".

PiperOrigin-RevId: 405537505
PiperOrigin-RevId: 405669883
…ted.

* replace uses of `jax.ops.index[...]` with `jax.numpy.index_exp[...]`, which is a standard NumPy function that does the same thing.
* remove some redundant uses of `jax.ops.index[...]`, where the expression is passed directly to an indexed accessor function like `.at[...]`.
* update some remaining users of `jax.ops.index_update(x, jax.ops.index[idx], y)` to use the `x.at[idx].set(y)` APIs.

PiperOrigin-RevId: 405825513
PiperOrigin-RevId: 414013921
PiperOrigin-RevId: 425951145
…ead of

accessing it via tf.estimator and depend on the tensorflow estimator target.

PiperOrigin-RevId: 436553352
testing layer improvment
testing layer improvment
testing layer improvment
Added performance tests and removed unnecessary trainer tests.
refactoring data loader configuration yaml structure
refactoring data loader configuration yaml structure
Added ModernBertEncoder class for tokenization using ModernBERT.
Added tests for ModernBertTokenizer functionality and validation.
refactoring data loader configuration yaml structure
refactoring data loader configuration yaml structure
refactoring data loader configuration yaml structure
refactoring data loader configuration yaml structure
refactoring data loader configuration yaml structure
refactoring data loader configuration yaml structure
- jax optymalization based only
- jax optymalization based only
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.