slm's People
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.