Giter Club home page Giter Club logo

qaner's Introduction




Hi, my name is Dani πŸ‘‹ and I ❀️ AI and Open-Source

Field of interests: AGI, NLP, RL, Graphs, Distributed Systems

My telegram channel: Cat's Shredinger

Skills πŸ› οΈ

  • Languages:Β  Python, SQL
  • DS/ML/DL: Β Β  SkLearn, PyTorch, Transformers
  • Big Data: Β Β Β Β Β  Hadoop, Hive, Spark
  • DevOps:  Β Β Β Β  Linux, Git, Docker

Work experience πŸ‘”

Job Position Company Field Work Period
Research Scientist SberDevices AGI, LLM, RLHF, GigaChat 2023-04 β€” now
NLP Team Lead SberDevices Search, Information Retrieval 2022-10 β€” 2023-04
NLP Tech Lead Sber AI Lab NLP, MLOps, Mentoring 2021-05 β€” 2022-10
Senior NLP Engineer Tinkoff AI Lab Virtual Assistant "Oleg" 2021-02 β€” 2021-04
Middle NLP Engineer MTS AI Lab NER with Pseudo-Labeling 2020-05 β€” 2021-02
Junior Data Scientist Sberbank ML with Tabular Data, CV 2018-07 β€” 2020-05

Education πŸŽ“

Projects 🐾

  • QaNER - unofficial implementation of QaNER paper (NER via Extractive Question Answering)
  • RLLib - Reinforcement Learning library
  • MUSE as Service - REST API for sentence embedding using Multilingual Universal Sentence Encoder
  • PyTorch NER - pipeline for training NER models using PyTorch
  • Text Classification Baseline - pipeline for building text classification TF-IDF + LogReg baselines
  • Graph-Based Clustering - clustering using graph connected components and spanning trees

Public talks πŸ—£

Certifications πŸ“œ

Hackathon participation πŸ’»

Achievements πŸ†

  • Published 10 packages to PyPI with 25k+ downloads
  • Contributor to PyTorch, Scikit-Learn, SciPy
  • Open Data Science Best Contributor 2020

GitHub Stats ⭐

Dani El-Ayyass' github stats

More information in my LinkedIn πŸš€

qaner's People

Contributors

dayyass avatar

Stargazers

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

Watchers

 avatar  avatar

qaner's Issues

F1 score may be obly concern about the entity

Thank you for your project. I noticed that the confusion matrix is used to calculate the metrics, and when calculating the final macro F1 score, the "O" type is not excluded. I think this is incorrect. Since there are far fewer entities compared to "O", and the focus is mainly on extracting entities, it is generally necessary to exclude predictions for entities. I made the following changes in metric.py:
` for span_true, span_pred in zip(spans_true_batch, spans_pred_batch_top_1):
span_pred = span_pred[0] # type: ignore

    i = entity_mapper[span_true.label]
    j = entity_mapper[span_pred.label]  # type: ignore
    
    confusion_matrix_true_denominator[i] += 1
    confusion_matrix_pred_denominator[j] += 1
    if span_true == span_pred:
        ner_confusion_matrix[i, j] += 1
    if i!=0:
        all_true+=1
        if span_true == span_pred:
            all_pred_correct+=1
        if j!=0:
            all_pred+=1

p1=all_pred_correct/all_pred if all_pred_correct!=0 else 0
r1=all_pred_correct/all_true if all_pred_correct!=0 else 0
f1=2*p1*r1/(p1+r1) if p1+r1!=0 else 0
metrics["ner_p"] = p1
metrics["ner_r"] = r1
metrics["ner_f1"]= f1`

ner_f1 indicates "micro_f1" about entity type

About the parameter 'n_best_size'

Hello, I have some questions regarding the parameter 'n_best_size'. In the program, 'n_best_size' is set to a fixed value, but in reality, each sentence may contain a different number of entities. Therefore, I would like to inquire about your opinion on this matter. I am looking forward to your response.

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.