Giter Club home page Giter Club logo

sentence-embedding-evaluation-german's Introduction

Software packages for the Evidence project (2020-2023)

The DFG project "Evidence" (433249742) ran from 2020 till Jul. 2023 at BBAW. The following software packages are maintained by @ulf1 without compensations since Aug. 2023.

Feature Preprocessing:

Best-Worst Scaling

Javascript

sentence-embedding-evaluation-german's People

Contributors

lgtm-migrator avatar ulf1 avatar

Watchers

 avatar  avatar

Forkers

lgtm-migrator

sentence-embedding-evaluation-german's Issues

ArchiMob Swiss Dialect Detection

Setup:

  • A language detection algorithm for lang:de should cover German dialects and regional varieties, e.g. lang:nds (Lower German), lang:gsw (Swiss German), lang:de-AT (Austrian German).
  • The corpus contains 100% lang:gsw text examples from German-speaking part of Switzerland. Thus, we add 50% Standard German sentence examples with label=0 to the dataset. The result is a 50/50 balance binary classification dataset.

Class labels

  • ZU
  • LU
  • BS
  • BE
  • ...

Random examples with extra class labels

  • Standard German (de-DE)
  • Austrian (de-AT)

LSDC The Low Saxon Dialect Classification dataset (VarDial 2020)

Info

Setup:

  • A language detection algorithm for lang:de should cover German dialects and regional varieties, e.g. lang:nds (Lower German), lang:gsw (Swiss German), lang:de-AT (Austrian German).
  • The corpus contains 100% lang:nds text examples from regions in North-West Germany and North-East Netherlands. Thus, we add 25% Standard German and 25% Standard Dutch sentence examples with label=0 to the dataset. The result is a 50/50 balance binary classification dataset.

Class labels

  • Achterhoek (ACH),
  • Drenthe (DRE),
  • Groningen (GRO) (not included; i guess copyright issues)
  • Hamburg (HAM),
  • Holstein (HOL),
  • Mark Brandenburg (MAR),
  • Mecklenburg-Vorpommern (MKB),
  • Münsterland (MON),
  • Northern Lower Saxony (NNI),
  • Lower Prussia (NPR) (dead dialect)
  • Eastphalia (OFL),
  • East Frisia (OFR),
  • Western Overijssel (OVY),
  • Eastern Westphalia (OWL),
  • Sauerland (SUD)
  • Twente (TWE)

Add random examples for two further class labels

  • Standard German (DE)
  • Dutch (NL)

The validation set seems to be np.array

Error:
TypeError: linear(): argument 'input' (position 1) must be Tensor, not numpy.ndarray

Look here

X_valid, y_valid = ds_train.get_validation_set()

When does it happen

params = {
    'datafolder': './datasets',
    'batch_size': 128, 
    'num_epochs': 100,
    'early_stopping': True,
    'split_ratio': 0.1,  # if early_stopping=True
    'patience': 10,  # if early_stopping=True
}

VarDial 2017 Swiss Dialect Detection

https://github.com/bricksdont/swiss-dialect-identification

Setup:

  • A language detection algorithm for lang:de should cover German dialects and regional varieties, e.g. lang:nds (Lower German), lang:gsw (Swiss German), lang:de-AT (Austrian German).
  • The corpus contains 100% lang:gsw text examples from German-speaking part of Switzerland. Thus, we add 50% Standard German sentence examples with label=0 to the dataset. The result is a 50/50 balance binary classification dataset.

Class labels

  • ZU
  • LU
  • BS
  • BE
  • ...

Random examples with extra class labels

  • Standard German (de-DE)
  • Austrian (de-AT)

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.