Giter Site home page Giter Site logo

llmembed-acl2024's Introduction

LLMEmbed: Rethinking Lightweight LLM's Genuine Function in Text Classification

This code is for the LLMEmbed paper accepted in the 62nd Annual Meeting of the Association for Computational Linguistics (ACL 2024) https://aclanthology.org/2024.acl-long.433

llama2_embedding / bert_embedding / roberta_embedding

The rep_extract.py uses language model to extract the representation of dataset and saves the representation as .pt file.

MyDataset

MyDataset.py reads the representation from .pt file.

DownstreamModel

DownstreamModel.py is for the co-occurence pooling.

📜Citation

This work has been accepted to [ACL-2024](url: https://aclanthology.org/2024.acl-long.433), please cite the paper if you use LLMEmbed or this repository in your research. Thank you very much 😉

@inproceedings{liu2024llmembed,
    title = "LLMEmbed: Rethinking Lightweight LLM's Genuine Function in Text Classification",
    author = "ChunLiu, ChunLiu  and
      Zhang, Hongguang  and
      Zhao, Kainan  and
      Ju, Xinghai  and
      Yang, Lin",
    booktitle = "Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)",
    year = "2024",
    address = "Bangkok, Thailand",
    publisher = "Association for Computational Linguistics",
    pages = "7994--8004",
}

llmembed-acl2024's People

Contributors

chunliu-cs avatar

Stargazers

Yepeng Jin avatar aihe avatar WangBooth avatar Thanh Tin Nguyen avatar  avatar Hongguang Zhang avatar Yanan Zhang avatar Qian Yunchong avatar  avatar JiandongWang avatar

Watchers

 avatar Hongguang Zhang avatar

llmembed-acl2024's Issues

SIGMA和epoch取值

想请问下SIGMA和epoch取值大小建议,dataset 大小在2000多,label class_num为11

Assistance with LLMEmbed Implementation

I recently came across your paper, and I found it very insightful. I'm working on a dialogue classification dataset and would like to test your system as part of my research.

I've downloaded the code, but the README is brief and doesn't include an example to help new users get started. Could you provide a short tutorial or some guidance? Even basic information on requirements, data formatting, and the order of scripts to run would be incredibly helpful.

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.