Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can we call embedded AI from the Commons app? Wikimedia policy, licenses, etc #6143

Open
nicolas-raoul opened this issue Jan 19, 2025 · 6 comments
Assignees
Labels
discussion gsoc Google Summer of Code

Comments

@nicolas-raoul
Copy link
Member

nicolas-raoul commented Jan 19, 2025

AICore is an SDK provided by the Android OS.

Any issue with using it?

@whym mentioned transparency and control, and asked for an option as long as that is not prohibitively difficult to implement. (I guess an option is totally doable)

My main worry is about whether we can call it and still be considered open source, I asked at https://opensource.stackexchange.com/questions/15324
We could also use explicitly open source-friendly model+library. Maybe https://github.com/srogmann/JBLOOMz (Apache2) + the smallest BLOOM model we can find, which currently seems to be bloomz-560m at 4 GB... still very big, hopefully this could be made an opt-in additional download.

Any other worries/ideas/etc?

@whym
Copy link
Collaborator

whym commented Jan 19, 2025

My main worry is about whether we can call it and still be considered open source,

Other practical concerns might be whether WMF allows to distribute under the organization an app with AI features enabled by default, and whether F-droid allows it. I think WMF would want to be consistent with their AI policies in other areas like T336905 (which is not still defined). I don't know much about F-droid, but it looks like they are concerned with blackbox binary dependencies in general.

@nicolas-raoul
Copy link
Member Author

The Gemma terms of use seem open source-friendlier than AICore terms, I see no clause about age or reverse-engineering.

The model is meant to be downloaded by the app, rather than already present on the device (code). Each model seems to be 1GB or more, so this would also be opt-in.

Sample app: https://ai.google.dev/edge/mediapipe/solutions/genai/llm_inference/android

@Thejas775
Copy link

The Gemma terms of use seem open source-friendlier than AICore terms, I see no clause about age or reverse-engineering.

The model is meant to be downloaded by the app, rather than already present on the device (code). Each model seems to be 1GB or more, so this would also be opt-in.

Sample app: https://ai.google.dev/edge/mediapipe/solutions/genai/llm_inference/android

yeah this would allow us to use any model that we want. We can also download the model if and only if users want to use.

@Thejas775
Copy link

The Gemma terms of use seem open source-friendlier than AICore terms, I see no clause about age or reverse-engineering.

The model is meant to be downloaded by the app, rather than already present on the device (code). Each model seems to be 1GB or more, so this would also be opt-in.

Sample app: https://ai.google.dev/edge/mediapipe/solutions/genai/llm_inference/android

I am starting to work on this. I will start to make a seperate app just to test out this feature and find the minimum model that will work.

@nicolas-raoul nicolas-raoul self-assigned this Jan 23, 2025
@nicolas-raoul
Copy link
Member Author

I am starting to work on this.

This is a GSoC task, let's keep actual implementation for the GSoC itself. :-)
By the way this issue is only about non-technical issues with AI (Wikimedia policy, licenses, etc).

@nicolas-raoul nicolas-raoul changed the title Can we call AICore from the Commons app? Can we call embedded AI from the Commons app? Wikimedia policy, licenses, etc Jan 23, 2025
@Thejas775
Copy link

I am starting to work on this.

This is a GSoC task, let's keep actual implementation for the GSoC itself. :-) By the way this issue is only about non-technical issues with AI (Wikimedia policy, licenses, etc).

Ohh okay got it. I'm looking forward to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion gsoc Google Summer of Code
Projects
None yet
Development

No branches or pull requests

3 participants