HackerTrans
TopNewTrendsCommentsPastAskShowJobs

mnoorfawi

no profile record

Submissions

Selective fine-tuning of Language Models with Spectrum

huggingface.co
3 points·by mnoorfawi·2 ปีที่แล้ว·0 comments

More Than Fine: Multi-LoRA Support Now Available in Nvidia RTX AI Toolkit

blogs.nvidia.com
1 points·by mnoorfawi·2 ปีที่แล้ว·0 comments

TableBench: A Comprehensive and Complex Benchmark for Table Question Answering

arxiv.org
2 points·by mnoorfawi·2 ปีที่แล้ว·0 comments

Show HN: Bayesian Neural Networks and Uncertainty for Inferring Unseen Classes

github.com
3 points·by mnoorfawi·2 ปีที่แล้ว·0 comments

Entity Linking and Relationship Extraction with Relik in LlamaIndex

neo4j.com
2 points·by mnoorfawi·2 ปีที่แล้ว·0 comments

An Introduction to Time Series Forecasting with Generative AI

databricks.com
2 points·by mnoorfawi·2 ปีที่แล้ว·0 comments

Show HN: Python Compression Suite for Pandas DataFrames, CSV and Excel Files

github.com
20 points·by mnoorfawi·2 ปีที่แล้ว·3 comments

Layerwise Recurrent Router for Mixture-of-Experts

arxiv.org
1 points·by mnoorfawi·2 ปีที่แล้ว·0 comments

Show HN: Locality-Sensitive Hashing in Python for Faster Nearest Neighbor Search

github.com
2 points·by mnoorfawi·2 ปีที่แล้ว·0 comments

Nvidia NVLink and Nvidia NVSwitch Supercharge Large Language Model Inference

developer.nvidia.com
5 points·by mnoorfawi·2 ปีที่แล้ว·0 comments

Are emergent abilities in large language models just in-context learning?

techxplore.com
1 points·by mnoorfawi·2 ปีที่แล้ว·1 comments

FalconMamba 7B: The first attention-free and general-purpose pure Mamba model

huggingface.co
11 points·by mnoorfawi·2 ปีที่แล้ว·0 comments

AI orchestration: benefits, best practices, and tools

blog.n8n.io
1 points·by mnoorfawi·2 ปีที่แล้ว·0 comments

[untitled]

1 points·by mnoorfawi·2 ปีที่แล้ว·0 comments

Long Context RAG Performance of LLMs

databricks.com
2 points·by mnoorfawi·2 ปีที่แล้ว·0 comments

Clustering the Manifold of the Embeddings Learned by Autoencoders

minimatech.org
1 points·by mnoorfawi·2 ปีที่แล้ว·0 comments

Build a Knowledge Graph-Based Agent with Llama 3.1, Nvidia Nim, and LangChain

neo4j.com
8 points·by mnoorfawi·2 ปีที่แล้ว·0 comments

Decoding How Nvidia's Latest RTX-Powered Tools Help Developers Accelerate AI

blogs.nvidia.com
2 points·by mnoorfawi·2 ปีที่แล้ว·0 comments

Show HN: Recommendation engine with reinforcement learning and action embeddings

github.com
1 points·by mnoorfawi·2 ปีที่แล้ว·0 comments

Mem0: The Memory Layer for Personalized AI

github.com
2 points·by mnoorfawi·2 ปีที่แล้ว·0 comments

comments

mnoorfawi
·2 ปีที่แล้ว·discuss
Thanks a lot for your comment. I appreciate it. I believe it involves two points:

1. Choosing C and R:

Normally C and R are chosen from the higher norm rows and columns to be able to reconstruct W or an approximation of it from C@U@R. However you stated it correctly here "but C and R are chosen with respect to the inverse of their contribution towards W, with lower-norm rows and columns more likely to be chosen. In some sense, the CUR of this fine-tuning is as far as possible from the full weight matrix W while still being drawn from it." So the whole idea is to mitigate catastrophic forgetting by constraining changes to less critical parts of the original weights giving the original matrix some control over the fine-tuned matrices via C and R which are drawn from W not initiated randomly.

2. You are right about the results in MRPC dataset. This is due to a couple of reasons: a. The learning rate I chose was relatively slow 2.5e-4 b. not enough text preprocessing was done to increase accuracy as the core idea was to measure catastrophic forgetting more than accuracy.

I actually recently tried different learning rates, epochs, ranks, alpha and different tasks (planning to conduct them in the preprint later) and got different numbers but with the same conclusion; CURLoRA-n was always better both in mitigating catastrophic forgetting with much less trainable parameters while having a good and sometimes better accuracy from LoRA-n.

Here is the paper repo: https://github.com/mnoorfawi/curlora It has the implementation code ready for both LoRA and CURLoRA.

if you would like, feel free to give it a try on a specific task of yours with different parameters.

Thanks,
mnoorfawi
·2 ปีที่แล้ว·discuss
Bayesian Neural Networks (BNNs) provide a unique approach to neural network modeling by incorporating uncertainty into predictions. This tutorial explores the application of BNNs in predicting novel unseen classes to address one major limitation to most of ML/DL models.