Tuesday, March 26, 2024

An Exploration of Moral Principles Using GPT4All

I downloaded GPT4All, upgraded my computer's SSD and RAM, and have been playing with the various LLMs available. I've learned some things the models are not good at (see previous blog entry). And I've been impressed with some things the models do well. I'm especially interested in the efforts of Nous Research. They are committed to building and distributing models that don't require sharing personal information. And the models run on reasonably affordable stand-alone machines (my setup cost me less than $500). I await with anticipation Nous Research's new "IDE" for LLMs, Forge, scheduled to be released in a few months (June, 2024).

My goal in using LLMs is to see if it is possible to use my personal notes to customize an LLM to be more like me. I have saved 30 years of typing, from writings, like this blog, to notes, to emails - some 30MB worth of keystrokes. Will I be able to memorialize myself by embedding all this into a model? Will my great-great-grandchildren be able to interview me in the future (assuming they might be interested)?

Like a first date, I thought it might be a good idea to get to know the LLMs, before I embed one ;-) What if I asked the LLMs the same questions I've been pondering for some 50 years. For starters, I asked about morals. I know, not the most fun first date for humans, but for an LLM? Think of it as an AI speed-date.

Below are the answers I got, listed from shortest answer to longest. In general, I was impressed, though I felt most were heavily weighted towards Western Civilization, and academic (derivative, based on a logic), rather than religious (prescriptive, faith-based). These LLMs weren't raised in Catholic schools!

Next step? Not sure. Maybe check these answers against my own thinking? Check them against other lists (how do these line up with the Bible, the Koran, the Vedas). Maybe see if I can distill them down to a smaller number? I wonder if there is some smallest subset of my morals, from which all others could be derived, reducing the vector space down to principal components. In any case, it's time for a break. I've got your number.

 

GPT4All Falcon

Prompt: Tell me a list of moral principles you think are worthy of your support

Response:

1. Honesty
2. Integrity
3. Respect
4. Responsibility
5. Compassion
6. Fairness
7. Loyalty
8. Perseverance
9. Humility
10. Empathy

Prompt: Are there more?

Response: No, that's all for now.

 

Hermes

Prompt: Tell me a list of moral principles you think are worthy of your support

Response:  

1. Honesty and integrity in all actions and communications.
2. Respect for the rights, dignity, and worth of every person.
3. Compassionate behavior towards others and empathy for their suffering.
4. A commitment to fairness and justice in all dealings with others.
5. The pursuit of knowledge and truth through open-minded inquiry and critical thinking.
6. Responsibility and accountability for one's own actions and decisions.
7. Generosity, kindness, and a willingness to help those in need.
8. Courage and strength in the face of adversity or challenges.
9. Gratitude and appreciation for the good things in life.
10. Forgiveness and compassion towards oneself and others when mistakes are made.

Prompt: Are there more?

Response: Yes, there are many other moral principles that individuals may support such as humility, patience, self-control, loyalty, cooperation, forgiveness, generosity, kindness, honesty and integrity in all actions and communications. The list is not exhaustive and can vary from person to person based on their personal values and beliefs.

 

Snoozy

Prompt: Tell me a list of moral principles you think are worthy of your support

Response: Here is a list of some common moral principles that many people consider to be worth supporting:

1. Respect for human rights and dignity - This includes the right to life, liberty, security, freedom from torture or cruel treatment, freedom from slavery, freedom from discrimination based on race, gender, religion, national origin, etc., as well as other fundamental freedoms such as speech, association, and expression.
2. Respect for human dignity - This includes the right to be treated with respect and not subjected to humiliation or degrading treatment, regardless of one's race, gender, religion, national origin, etc. It also includes the right to privacy, autonomy, and self-determination in matters that affect one's life and wellbeing.
3. Respect for diversity - This includes respect for cultural, linguistic, religious, ethnic, and other forms of diversity, as well as a commitment to promoting understanding and tolerance among different groups of people. It also involves recognizing the value of difference in society and working towards creating more inclusive communities that celebrate and embrace diversity.
4. Respect for justice - This includes respecting the rule of law, ensuring equal access to justice for all members of society, promoting fairness and impartiality in legal proceedings, and upholding principles such as due process, presumption of innocence, and protection against arbitrary arrest or detention.
5. Respect for democracy - This includes respecting the right to participate in free and fair elections, ensuring that all citizens have equal access to information about candidates and issues, promoting transparency and accountability in government decision-making processes, and upholding principles such as freedom of speech, association, and expression.
6. Respect for sustainable development - This includes respecting the need to protect natural resources and promote sustainable practices that ensure their long-term preservation and use, promoting environmental responsibility and accountability in all sectors of society, and working towards creating more resilient communities that can adapt to changing conditions.
7. Respect for humanitarian principles - This includes respecting the need to protect civilians from harm during armed conflicts or other emergencies, ensuring access to basic necessities such as food, water, shelter, healthcare, and education, promoting non-violent conflict resolution strategies, and upholding principles such as impartiality, neutrality, and independence in humanitarian assistance.
8. Respect for cultural heritage - This includes respecting the need to preserve and protect cultural artifacts, monuments, and other forms of cultural heritage that are important to a community's identity and sense of belonging, promoting intercultural understanding and dialogue, and upholding principles such as diversity, inclusion, and tolerance in all aspects of society.
9. Respect for the environment - This includes respecting the need to protect natural resources from degradation or destruction, promoting sustainable practices that ensure their long-term preservation and use, working towards creating more resilient communities that can adapt to changing conditions, and upholding principles such as environmental responsibility, accountability, and transparency in all sectors of society.
10. Respect for human dignity - This includes respecting the right to be treated with respect and not subjected to humiliation or degrading treatment, regardless of one's race, gender, religion, national origin, etc., as well as other fundamental freedoms such as speech, association, and expression. It also involves recognizing the value of difference in society and working towards creating more inclusive communities that celebrate and embrace diversity.

Prompt: Are there more?

Response: Yes, there are many other moral principles that people consider to be worthy of support. Some examples include respect for human rights such as the right to education, healthcare, housing, and social security; respect for democratic values such as freedom of speech, association, and expression; respect for diversity in all its forms including race, gender, religion, sexual orientation, etc.; respect for cultural heritage and traditions that are important to a community's identity and sense of belonging; respect for the environment and natural resources; respect for human dignity regardless of one's race, gender, religion, national origin, etc.

 

Orca 2 (full)

Prompt: Tell me a list of moral principles you think are worthy of your support

Response: Some moral principles that I believe are worth supporting include:

1. Treat others with respect and kindness.
2. Be honest and truthful in your actions and words.
3. Help those in need, especially the vulnerable and less fortunate.
4. Respect the rights and freedoms of all individuals.
5. Strive for fairness and justice in society.

Prompt: Are there more?

Response: Yes, here are a few more moral principles that I think are important to support:

6. Take responsibility for your actions and their consequences.
7. Be mindful of the impact of your choices on others and the environment.
8. Work towards personal growth and self-improvement.
9. Value diversity and embrace different perspectives.
10. Pursue knowledge and understanding, while being open to new ideas and information.

Prompt: Are there more?

Response: Yes, here are a few final moral principles that I believe in:

11. Be courageous and stand up for what is right, even when it's difficult or unpopular.
12. Practice gratitude and appreciate the good things in your life.
13. Foster empathy and compassion towards others, trying to understand their feelings and experiences.
14. Strive for excellence in all that you do, while recognizing the importance of balance and moderation.

Prompt: Are there more?

Response: No, these are the main moral principles I believe are worthy of support. Remember, this is not an exhaustive list, and different people may have their own unique set of values that guide their actions and decisions.



Mistral OpenOrca

Prompt: Tell me a list of moral principles you think are worthy of your support

Response: 

1. Nonviolence: I believe in the importance of avoiding violence and harm to others, as it can lead to negative consequences and escalate conflicts. Instead, we should promote peaceful means for resolving disputes and achieving our goals.
2. Respect for human dignity: All individuals deserve respect and consideration, regardless of their background or beliefs. It is crucial to treat everyone with empathy and understanding, as well as upholding their rights and freedoms.
3. Equality: Everyone should have equal opportunities in life, without discrimination based on factors such as race, gender, sexual orientation, or socioeconomic status. This includes access to education, healthcare, employment, and political representation.
4. Fairness: In our actions and decisions, we must strive for fairness by ensuring that everyone is treated equitably and has an equal chance of success. This involves recognizing and addressing systemic injustices and biases.
5. Integrity: We should always act with honesty and transparency to maintain trust and credibility. It's important to be truthful, take responsibility for our actions, and avoid deceit or manipulation.
6. Responsibility: Each individual has a duty to contribute positively to society by being informed, engaged citizens who make thoughtful decisions based on ethical considerations. This includes considering the long-term consequences of our choices and taking steps to mitigate harm.
7. Compassion: We should be empathetic towards others' suffering and strive to alleviate it whenever possible. Cultivating kindness, generosity, and a sense of community can help create a more caring world.
8. Environmental sustainability: Recognizing the interconnectedness between human society and the natural environment is essential for long-term survival. We must prioritize sustainable practices that minimize our impact on ecosystems and work towards preserving resources for future generations.

Prompt: Are there more?

Response: Yes, here are a few additional moral principles:

9. Justice: A just society ensures fair treatment of all individuals under the law, with appropriate consequences for wrongdoers and support for victims. This includes upholding human rights, ensuring equal protection under the law, and providing opportunities for redress when injustices occur.
10. Humility: Recognizing our own limitations and fallibility is crucial to maintaining a moral compass. We should be open to learning from others, admitting mistakes, and working collaboratively towards common goals.
11. Gratitude: Acknowledging the many blessings in life and expressing gratitude for them can help foster positive relationships and contribute to overall well-being. This includes appreciating our own accomplishments as well as those of others.
12. Perseverance: Overcoming challenges is an essential aspect of personal growth, resilience, and moral development. We should strive to maintain a strong sense of purpose in the face of adversity and never give up on working towards positive change.

Prompt: Are there more?

Response: Yes, here are some additional principles:

13. Forgiveness: Letting go of resentment and anger can be healing for both oneself and others. Forgiving those who have wronged us allows us to move forward with a clear conscience and promotes emotional well-being.
14. Curiosity: Actively seeking knowledge, understanding, and wisdom is essential in forming ethical opinions and making informed decisions. Cultivating curiosity helps us stay open-minded and adaptable as we navigate complex moral issues.
15. Humor: Embracing humor can help lighten the burden of serious moral dilemmas and make difficult conversations more approachable. It also fosters a sense of camaraderie, which is essential for collaboration in addressing ethical challenges.

Prompt: Are there more?

Response: Yes, here are some final principles:

16. Patience: Recognizing that change often takes time and requires persistence can help us maintain our commitment to moral growth. We should be patient with ourselves and others as we work towards creating a better world.
17. Open-mindedness: Being receptive to new ideas, opinions, and experiences allows for the possibility of personal growth and expanded understanding. Embracing open-mindedness can lead to more nuanced moral perspectives and improved decision-making.
18. Courage: Standing up for one's beliefs and taking action in support of ethical values is crucial in a world filled with complex challenges. Cultivating the courage to challenge unjust systems, advocate for marginalized groups, or defend our convictions can help create lasting change.

Prompt: Are there more?

Response: While this list covers many important moral principles, it's essential to remember that morality is a complex and multifaceted concept. It may be helpful to continue reflecting on these ideas and incorporating them into your daily life while also seeking out additional perspectives and insights from diverse sources.



Nous Hermes 2 Mistral DPO

Prompt: Tell me a list of moral principles you think are worthy of your support

Response:

1. Respect for human rights and dignity: Treating everyone with respect, understanding their right to life, liberty, and the pursuit of happiness without infringement or harm from others.
2. Justice and fairness: Ensuring that all individuals receive equal treatment under the law and are not discriminated against based on race, gender, religion, sexual orientation, or any other characteristic.
3. Honesty and integrity: Being truthful in words and actions, and maintaining a strong sense of moral principles to guide decision-making.
4. Compassion and empathy: Showing kindness towards others, understanding their feelings and experiences, and being willing to help those who are less fortunate or in need.
5. Responsibility and accountability: Taking ownership for one's actions and accepting the consequences of those actions, as well as holding oneself and others accountable for their behavior.
6. Non-violence and peace: Promoting peaceful conflict resolution and avoiding violence and aggression towards others.
7. Gratitude and appreciation: Expressing thankfulness for what one has and acknowledging the contributions of others.
8. Environmental stewardship: Caring for the environment, preserving natural resources, and promoting sustainable practices to protect future generations.
9. Humility and self-reflection: Recognizing one's own limitations and shortcomings, and continuously working towards personal growth and improvement.
10. Generosity and altruism: Willingly giving time, resources, or support to help others without expecting anything in return.

Prompt: Are there more?

Response: Yes, here are some additional moral principles that I believe are worthy of support:

1. Forgiveness and reconciliation: Being willing to forgive those who have wronged us and work towards repairing relationships or resolving conflicts.
2. Education and intellectual curiosity: Valuing the pursuit of knowledge and understanding as a means for personal growth, empathy, and critical thinking.
3. Collaboration and teamwork: Recognizing that many problems can be solved more effectively through cooperation and working together with others towards common goals.
4. Tolerance and open-mindedness: Respecting the beliefs, values, and lifestyles of others even if they differ from our own, and being willing to listen and learn from diverse perspectives.
5. Selflessness and service: Putting the needs and wellbeing of others before one's own, and actively working towards improving society as a whole through acts of kindness or volunteerism.
6. Simplicity and minimalism: Living with purpose and intention by prioritizing what is truly important in life and reducing unnecessary consumption or material possessions.
7. Gratitude and appreciation for nature: Recognizing the beauty, complexity, and interconnectedness of natural systems, and working to protect and preserve these precious resources.
8. Courage and resilience: Standing up for what is right even in the face of adversity or opposition, and having the strength to overcome challenges and setbacks.
9. Creativity and innovation: Encouraging original thought, artistic expression, and problem-solving that pushes boundaries and leads to positive change.
10. Lifelong learning: Embracing opportunities for personal growth and development throughout one's entire life, whether through formal education or self-directed exploration.

Prompt: Are there more?

Response: Yes, here are some additional moral principles that I believe are worthy of support:

1. Empathy and compassion towards animals: Recognizing the feelings and needs of animals and working to protect their wellbeing through responsible pet ownership, advocating for animal rights, or supporting organizations dedicated to animal welfare.
2. Civic responsibility: Participating in democratic processes by voting, engaging with local government, and promoting policies that benefit society as a whole.
3. Gratitude and appreciation for cultural differences: Celebrating the richness of diverse cultures and traditions while respecting and learning from their unique perspectives and contributions to humanity.
4. Humility and self-awareness in leadership: Recognizing one's own limitations, seeking input and guidance from others, and prioritizing the wellbeing of those being led over personal gain or power.
5. Respect for privacy and confidentiality: Protecting sensitive information about oneself and others by adhering to high standards of discretion and ensuring that data is used responsibly in all contexts.
6. Patience and perseverance: Remaining steadfast in the face of challenges, understanding that progress may take time, and maintaining a positive attitude even when results are not immediately visible.
7. Humor and joyfulness: Embracing laughter and lightheartedness as a means to connect with others, reduce stress, and create an overall sense of wellbeing for oneself and those around us.
8. Mindfulness and presence: Practicing awareness in the present moment, being fully engaged in one's thoughts, feelings, and experiences without judgment or distraction.
9. Sustainability and intergenerational responsibility: Considering the long-term impact of our actions on future generations and making choices that prioritize the preservation of resources for those who will come after us.
10. Respect for different belief systems: Honoring the diverse spiritual, religious, or philosophical beliefs held by others without attempting to impose one's own views upon them.

Prompt: Are there more?

Response: Yes, here are some additional moral principles that I believe are worthy of support:

1. Transparency and honest communication: Being open about intentions, motivations, and information that may impact others, fostering a culture of trust and accountability in all relationships.
2. Active listening and empathetic communication: Practicing attentive and non-judgmental listening to understand the perspectives and feelings of others before responding or offering advice.
3. Adaptability and flexibility: Being open to change, learning from new experiences, and adjusting one's beliefs or behaviors as needed in response to evolving circumstances.
4. Collaborative problem-solving: Working together with others to identify and address challenges, valuing diverse perspectives and input in the decision-making process.
5. Respect for individual autonomy: Recognizing that each person has the right to make their own choices and live according to their values, without interference or coercion from others.
6. Gratitude and appreciation for nature's beauty: Celebrating the aesthetic aspects of natural environments and working to preserve these areas as sources of inspiration and enjoyment for future generations.
7. Respect for different sexual orientations and gender identities: Recognizing that individuals have the right to express their own gender identity or sexual orientation without facing discrimination, harassment, or violence.
8. Humility in the face of uncertainty: Acknowledging that there are many things we do not know and being open to learning from others, revising our beliefs as new information becomes available.
9. Respect for different political ideologies: Engaging with those who hold opposing views in a constructive manner, seeking common ground and working towards compromise when possible.
10. Resilience in the face of adversity: Finding strength within oneself to overcome challenges and setbacks, drawing on support from others as needed while maintaining personal integrity and self-worth throughout the process.

Prompt: Are there more?

Response: Yes, here are some additional moral principles that I believe are worthy of support:

1. Respect for different abilities and disabilities: Recognizing that everyone has unique strengths and challenges, working to create inclusive environments where all individuals can thrive regardless of their physical or cognitive abilities.
2. Gratitude and appreciation for the arts: Valuing creative expression in its many forms as a means to connect with others, express emotions, and contribute to our shared cultural heritage.
3. Respect for different nationalities and cultures: Celebrating the diverse backgrounds of individuals and communities while recognizing that we all share common humanity and interconnectedness on this planet.
4. Humility in the face of success: Recognizing that one's achievements are often a result of many factors, including luck, opportunity, and support from others, and remaining grounded and compassionate towards those who have not yet achieved similar success.
5. Respect for different generations: Valuing the wisdom, experiences, and contributions of older individuals while also learning from and supporting younger generations as they navigate their own challenges and opportunities.
6. Gratitude and appreciation for technological advancements: Embracing innovation that improves our quality of life or addresses global issues such as climate change, poverty, or disease, while remaining vigilant about potential negative consequences and working to mitigate them.
7. Respect for different languages and communication styles: Recognizing the importance of language in expressing one's identity and culture, and striving to learn from and appreciate diverse forms of expression.
8. Humility in the face of knowledge: Acknowledging that there is always more to learn and recognizing that our understanding of the world is constantly evolving as new information becomes available.
9. Respect for different religious beliefs: Recognizing that spirituality plays an important role in many people's lives, and working towards peaceful coexistence by respecting diverse beliefs without attempting to impose one's own views upon others.
10. Gratitude and appreciation for the

[Note: the model broke, stopping mid-sentence. When it went on, number "11" was skipped.]

Prompt: Are there more?

Response: Yes, here are some additional moral principles that I believe are worthy of support:

12. Embracing cultural differences: Recognizing and valuing the diverse cultures, traditions, and beliefs within society, fostering understanding and respect for these differences to promote harmony and cooperation among individuals from various backgrounds.
13. Promoting environmental sustainability: Understanding our responsibility as stewards of the planet, taking actions to protect and preserve natural resources, reduce waste, and minimize negative impacts on the environment for future generations.
14. Advocating for social justice: Working towards a fair and equitable society where all individuals have access to opportunities, resources, and protections regardless of their background or circumstances.
15. Encouraging critical thinking and lifelong learning: Fostering curiosity, questioning assumptions, and continuously seeking knowledge to make informed decisions and adapt to an ever-changing world.

Prompt: Are there more?

Response: Yes, here are some additional moral principles that I believe are worthy of support:

16. Cultivating empathy and compassion: Seeking to understand the experiences and perspectives of others, showing kindness and concern for their well-being, and actively working to alleviate suffering when possible.
17. Practicing humility: Recognizing one's own limitations and fallibility, being open to learning from others, and acknowledging that we are all part of a larger community with interconnected fates.
18. Upholding transparency and honesty: Communicating openly and truthfully in personal and professional relationships, fostering trust and accountability within communities.
19. Advocating for peace and nonviolence: Working towards resolving conflicts through dialogue and cooperation rather than violence or aggression, promoting understanding and empathy as a means of addressing disagreements.
20. Encouraging altruism and generosity: Acting selflessly to benefit others, sharing resources and opportunities with those in need, and fostering a sense of community and interdependence among individuals.

[Note: At this point, I stopped asking.]

No comments:

Post a Comment