Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bert] Upgrade to Burn 0.13.0 #27

Merged
merged 5 commits into from
Apr 25, 2024
Merged

Conversation

bkonkle
Copy link
Contributor

@bkonkle bkonkle commented Apr 17, 2024

  • Update burn to v0.13.0
  • Remove init_with methods
  • Return the ModelRecord from from_safetensors so that it's easier to nest inside a "higher-order" model or a transformers-style pipeline
  • Change burn-rs -> tracel-ai github links

@bkonkle
Copy link
Contributor Author

bkonkle commented Apr 17, 2024

👋 Hi! I'm really enjoying my time with Burn so far, and wanted to contribute this quick upgrade as I work on my own sequence classification and token classification pipelines based on Bert. Let me know if there's anything I need to change. Thanks!

Copy link
Member

@nathanielsimard nathanielsimard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, thanks a lot for the upgrade, I don't see anything wrong with it, good job!

@laggui laggui merged commit 29fadae into tracel-ai:main Apr 25, 2024
2 checks passed
bkonkle added a commit to bkonkle/burn-models that referenced this pull request Apr 25, 2024
* [Bert] Upgrade to Burn 0.13.0

* Convert Tensor::arrange arguments to i64 values

* Use Param::from_tensor in the loaders

* Use a consistent import style everywhere

Use a consistent import style everywhere

Add an optional pooling layer for custom bert pipelines

Minor lint corrections

Import correction

Patch burn temporarily

Minor tweaks
@bkonkle bkonkle deleted the chore/upgrade-bert branch April 25, 2024 22:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants