Giter Site home page Giter Site logo

double-bind-training's Introduction

Hi ๐Ÿ‘‹, I'm Herumb Shandilya a.k.a. krypticmouse

krypticmouse

krypticmouse

  • ๐Ÿ”ญ Iโ€™m currently working on ColBERT and DSPy

  • ๐ŸŒฑ Iโ€™m currently learning Rust, Distributed Systems and Compiler Optimizations

  • ๐Ÿ‘ฏ Iโ€™m looking to collaborate on Research around LLM Agents

  • ๐Ÿ‘จโ€๐Ÿ’ป All of my projects are available at krypticmouse.github.io/

  • ๐Ÿ“ All of my blogs are available here

  • ๐Ÿ’ฌ Ask me about ML, DL, IoT, NLP, CV, Web

  • ๐Ÿ“ซ How to reach me [email protected]

  • โšก Fun fact I stalk PyTorch in my Free Time

Connect with me:

krypticmouse herumb-s-740163131 krypticmouse krypticmouse @krypticmouse @theaveragecoder

Languages and Tools:

arduino aws bash bootstrap c cplusplus css3 django figma flask git heroku html5 linux mysql opencv pandas postman python pytorch scikit_learn seaborn selenium tailwind tensorflow

krypticmouse

ย krypticmouse

krypticmouse

double-bind-training's People

Contributors

krypticmouse avatar

Watchers

 avatar

double-bind-training's Issues

Feature: code for Masakhane News and Bloom-lm datasets

  • Create snippets that take in a language code and download from Masakhane News/Bloom-lm
  • Combine that data with train.txt, etc. from other datasets
  • Make sure it all gets tagged in Weights and Biases!
  • Incorporate into repo AND colab notebook for AfricaNLP

Feature request: add tag for datasets used.

A couple ways to go about this: we could ask the user to edit, or we could automatically infer from dataset downloads in the HuggingFace cache. The first one seems easier but less reliable? But would fit in nicely with our current paradigm of having people do this in Colab

RuntimeError in train_ner_adapter: expanded size of the tensor must match the existing size at non-singleton dimension 1.

Evaluating:   0% 0/38 [00:00<?, ?it/s]
Traceback (most recent call last):
  File "train_ner_adapter.py", line 726, in <module>
    main()
  File "train_ner_adapter.py", line 685, in main
    result, _ = evaluate(args, model, tokenizer, labels, pad_token_label_id, mode="dev", prefix=global_step)
  File "train_ner_adapter.py", line 288, in evaluate
    logits = model(avg_emb)
  File "/usr/local/lib/python3.8/dist-packages/torch/nn/modules/module.py", line 1194, in _call_impl
    return forward_call(*input, **kwargs)
  File "/usr/local/lib/python3.8/dist-packages/transformers/adapters/models/roberta/adapter_model.py", line 68, in forward
    outputs = self.roberta(
  File "/usr/local/lib/python3.8/dist-packages/torch/nn/modules/module.py", line 1194, in _call_impl
    return forward_call(*input, **kwargs)
  File "/usr/local/lib/python3.8/dist-packages/transformers/adapters/context.py", line 108, in wrapper_func
    results = f(self, *args, **kwargs)
  File "/usr/local/lib/python3.8/dist-packages/transformers/models/roberta/modeling_roberta.py", line 843, in forward
    buffered_token_type_ids_expanded = buffered_token_type_ids.expand(batch_size, seq_length)
RuntimeError: The expanded size of the tensor (768) must match the existing size (514) at non-singleton dimension 1.  Target sizes: [1312, 768].  Tensor sizes: [1, 514]

Update Readme with usage instructions

  • After #10 is complete, we should add instructions for how to do/how we did our phase 1 experiments to the readme. For a start can just be "run this Colab notebook which trains a language adapter and then finetunes on Masakhane NER".

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.