Coder Social home page Coder Social logo

slm's People

Contributors

pbihao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

slm's Issues

Dimension mismatch

Thanks for your work. I have encountered one bug when runing the code in Line 134 of SLM/SLM-llama/retriever.py:

weight_offset = torch.take_along_dim(self.weight_offset, idx_vote[:, None,None], dim=1)weight_offset = torch.take_along_dim(self.weight_offset, idx_vote[:, None,None], dim=1)

The error is:
RuntimeErrorRuntimeError: : The size of tensor a (12) must match the size of tensor b (2) at non-singleton dimension 0

Could you help figure it out? Thanks.

I've question about the self.pool_size

Hello. Thank you for sharing your source code.

While reviewing it, I noticed the variable "self.pool_size" being used. From my understanding, it seems to represent the number of core vectors for each task. Is my understanding correct? If not, could you please clarify its purpose?

The reason I'm confused about the variable is the bash script file in your repository.

In vectordb/script.sh, you write like following in the line 54

# ------------------------- pool: 24, groups: 1 ------------------------------------------

How we can define the 24 tasks from AGNews (4 classes), Yelp (5 classes), DBPedia (14 classes), Amazon (5 classes), and Yahoo (10 classes) datasets ?

Based on your paper and source code, it seems that the pool_size variable represents the number of tasks excluding the current task. Therefore, the pool_size should be 4 for all continual learning sequences.

Am I correct...?

ps. If you have some time, could you describe the exact experimental steps needed to reproduce your report?

Thank you in advance.

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.