Git Product home page Git Product logo

beyond-scale-language-data-diversity's People

Contributors

brando90 avatar sudharsansundar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

beyond-scale-language-data-diversity's Issues

How do the LLM DIVs compare to the original task2vec?

I saw in multiple places

## LLM DIV

comment e.g.,

## LLM DIV
def plot_distance_matrix_heatmap_only(embeddings, labels=None, distance='cosine', show_plot=True, title=None, save_file=None):
    import seaborn as sns
    import pandas as pd
    import matplotlib.pyplot as plt
    distance_matrix = pdist(embeddings, distance=distance)
    if labels is not None:
        distance_matrix = pd.DataFrame(distance_matrix, index=labels, columns=labels)
    sns.heatmap(distance_matrix, cmap='viridis_r')
    if title:
        plt.title(title)
    if save_file:
        _ = plt.savefig("plots/" + save_file + ".png", bbox_inches='tight')
    if show_plot:
        plt.show()

but the input to the function is just a list of embeddings. Numbering for ease of addressing:

  1. Is there a reason we didn't simply pip install task2vec and use their code for code that wasn't specific to LLMs?
  2. When we do modify it to deal with LLMs, how does it differ from Task2Vec's original code?

Thanks in advance @alycialee

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.