Downloads · 30 days
0
nicodemosvarnava/2050_materials_models
2050_materials_models is a machine learning model from nicodemosvarnava. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This repository, titled 2050materialsmodels, is a part of the 2050-materials platform. It contains various machine learning models developed to enhance the platform's capabilities.
Downloads · 30 days
0
Access
Public
Updated Nov 13, 2023
Repo size
537 MB
Likes
0
Public
Click a slice to open those files.
.pth537 MB · 100%
From the Hugging Face model README
This repository, titled 2050_materials_models, is a part of the 2050-materials platform. It contains various machine learning models developed to enhance the platform's capabilities.
Currently, the repository hosts two models:
prediction_model_material.pth: A model for predicting the best match from a list of material types.prediction_model_product.pth: A model used to predict the best match from a range of product types.These models are built to streamline the process of identifying and categorizing different materials and products used in construction, assisting in making more environmentally informed choices.
The primary requirements include:
You can load these models using PyTorch. Here's a quick snippet on how to do it:
import torch
# Load the material prediction model
material_model_path = 'path/to/prediction_model_material.pth'
material_model = torch.load(material_model_path)
# Load the product prediction model
product_model_path = 'path/to/prediction_model_product.pth'
product_model = torch.load(product_model_path)
# Example of using the models for prediction