Giter Club home page Giter Club logo

Comments (4)

Timoeller avatar Timoeller commented on May 18, 2024

Resolved itself? : )

Anyways, your problem is a critical point. We are currently improving the error messages when dealing with custom input data. The code hidden in the parent Processor class can be sometimes confusing for people new to FARM. You can visually inspect your data processing when we log samples to the console. Or you go in debug mode and see how the data flows, especially along the functions defined here.

Normally this error comes from input data not in the right format. Formatting issues occur frequently when dealing with comma separated files and a text column often containing the separator or newlines (or any other wierd string symbols).
So please hang in there and ask questions through our github issues page here.

from farm.

amoelle avatar amoelle commented on May 18, 2024

Hi, sorry accidentally pressed enter before i was done typing :D I have updated my comment from earlier.

Thanks for your support so far, will look into it tomorrow again!

from farm.

Timoeller avatar Timoeller commented on May 18, 2024

Hey @amoelle
Thanks for updating the issue. Could you try renaming the "Tonalität des Artikels/Themas" column to anything but "text_classification_label". This is our internal string value, that gets assigned to label_name. If that solves the issue, we will need to add a check for that very case.

Otherwise could you verify with self.df['Tonalität des Artikels/Themas'].unique() that really all values occuring in that column are covered by the label list?

Thanks, looking forward to your reply tomorrow.

from farm.

amoelle avatar amoelle commented on May 18, 2024

Renaming the label column seems to work, thank you! :)

from farm.

Related Issues (20)

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.